- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 241 for set_type (0.22 sec)
-
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
TFRTensorType unconstrainted_type = rewriter.getType<TFRTensorType>(); SmallVector<Value, 4> new_results; for (auto res : llvm::enumerate(call_op.getResultTypes())) { Type res_type = res.value(); if (mlir::dyn_cast<TFRTensorType>(res_type)) { Value new_res = new_op->getResult(res.index()); auto casted = rewriter.create<CastOp>(loc, res_type, new_res); new_results.push_back(casted.getOut());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
src/cmd/internal/goobj/objfile.go
binary.LittleEndian.PutUint32(s[:], uint32(len(x))) binary.LittleEndian.PutUint32(s[4:], w.stringOff(x)) } func (s *Sym) SetABI(x uint16) { binary.LittleEndian.PutUint16(s[8:], x) } func (s *Sym) SetType(x uint8) { s[10] = x } func (s *Sym) SetFlag(x uint8) { s[11] = x } func (s *Sym) SetFlag2(x uint8) { s[12] = x } func (s *Sym) SetSiz(x uint32) { binary.LittleEndian.PutUint32(s[13:], x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.proto
} QuantizationComponent quantization_component = 1; // Defines the target bit of the data. BitWidth bit_width = 2; // Defines the type of data of the quantized component. BitType bit_type = 3; // Defines whether quantization is done in narrow range. bool enable_narrow_range = 4; // Defines whether quantiation is done per-channel. bool enable_per_channel_quantization = 5;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 22 02:20:05 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/inline/interleaved/interleaved.go
return n // already visited n.X before wrapping } ok := match(n) ir.EditChildren(n, mark) if ok { paren := ir.NewParenExpr(n.Pos(), n) paren.SetType(n.Type()) paren.SetTypecheck(n.Typecheck()) parens = append(parens, paren) n = paren } return n } ir.EditChildren(fn, mark) // Edit until stable. for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/TypeMirrorToType.java
@Override public Type visitPrimitive(PrimitiveType t, Void unused) { TypeKind kind = t.getKind(); if (kind == TypeKind.INT) { return Type.INT_TYPE; } if (kind == TypeKind.BYTE) { return Type.BYTE_TYPE; } if (kind == TypeKind.BOOLEAN) { return Type.BOOLEAN_TYPE; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt
setType("other-type") } } val adhocConfig by configurations.creating configurations.create("for-string-invoke") (artifacts) { adhocConfig(file("first.txt")) adhocConfig(file("second.txt")) { setType("other-type") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 11:39:00 UTC 2024 - 39.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
if (out_type.isa<TFRTensorType>()) { new_cst = rewriter.create<CastOp>(loc, out_type, new_cst->getResult(0)); } rewriter.replaceOp(cst_tensor_op, new_cst->getResult(0)); return success(); } TypedAttr scalar; if (matchPattern(cst_tensor_op.getArg(), m_Constant(&scalar))) { Type new_out_type = RankedTensorType::get({}, scalar.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/link.go
ldr := ctxt.loader s := ldr.LookupOrCreateSym(name, version) ldr.SetIsGeneratedSym(s, true) sb := ldr.MakeSymbolUpdater(s) sb.SetType(t) sb.SetSize(size) ctxt.generatorSyms[s] = gen return s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 19 15:59:22 UTC 2022 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc
for (int i = 0; i < arg_shapes.size(); ++i) { auto metadata_arg = metadata_proto.add_args(); metadata_arg->set_kind( tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER); metadata_arg->set_dtype(dtype); } // Set up one dummy retval. metadata_proto.add_retvals(); bool use_tuple_args = true; std::vector<tensorflow::tpu::ShardingAndIndex> arg_core_mapping;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 18:43:55 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader_test.go
ldr.CreateStaticSym("dummy") } // Check get/set symbol type es3typ := sb3.Type() if es3typ != sym.Sxxx { t.Errorf("SymType(es3): expected %v, got %v", sym.Sxxx, es3typ) } sb3.SetType(sym.SRODATA) es3typ = sb3.Type() if es3typ != sym.SRODATA { t.Errorf("SymType(es3): expected %v, got %v", sym.SRODATA, es3typ) } es3typ = ldr.SymType(es3) if es3typ != sym.SRODATA {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0)