- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for if_builder (0.11 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
region.push_back(new mlir::Block); auto saved_pos = op_builder.saveInsertionPoint(); op_builder.setInsertionPointToEnd(®ion.front()); mlir::Operation* cloned_op = op_builder.clone(*op); // Add the yield operation. op_builder.create<mlir::TFL::YieldOp>(op_loc, cloned_op->getResults()); // Now emit into the function body again. op_builder.restoreInsertionPoint(saved_pos);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
// Builds a Symbolic gradient for Supported NodeBuilder b_builder("B", "SymbolicGradient", builder.opts().op_registry()); NameAttrList b_name_attr; b_name_attr.set_name("Supported"); b_builder.Attr("f", b_name_attr); b_builder.Attr("Tin", {DT_FLOAT, DT_FLOAT}); b_builder.Attr("Tout", {DT_FLOAT}); b_builder.Input({a, a}); Node* b = builder.opts().FinalizeBuilder(&b_builder);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
tensors. Each tensor contains the asset file names. """ v1_builder = builder.SavedModelBuilder(saved_model_path) sig_def = signature_def_utils_impl.predict_signature_def( inputs=inputs, outputs=outputs ) v1_builder.add_meta_graph_and_variables( sess, tags, signature_def_map={signature_key: sig_def},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
(HasNonNegativeOffset $begin, $end)]>; def GetNumElementsOrOne: NativeCodeCall<"GetNumElementsOrOne($0.getType())">; def ReshapeValueDroppingLastDim : NativeCodeCall< "ReshapeValueDroppingLastDim($_builder, $0)">; def IsOneHotIndexAttribute : Constraint<CPred< "TFL::IsOneHotIndexAttribute($0)">>; // Checks if the shape has static shape with last dimension equals 1.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
"llvm::ArrayRef<::mlir::NamedAttribute>":$attributes, "unsigned":$numRegions), [{ assert(numRegions == 2u && "mismatched number of regions"); build($_builder, $_state, resultTypes, operands, attributes); }]>]; let hasCanonicalizer = 1; } def TF_GeneratorDatasetRegionOp : TF_Op<"GeneratorDatasetRegion", [AttrSizedOperandSegments,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0)