- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for NamedAttribute (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
DeferredConversionMetaData( const std::string& function_name, const std::vector<mlir::NamedAttribute>& attributes) : function_name(function_name), attributes(attributes) {} std::string function_name; std::vector<mlir::NamedAttribute> attributes; }; // Adds all the ordered_nodes to the shape refiner shape_refiner_. Then all
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
concat_unary_operands.getResult(), op.getResult().getType(), ArrayRef<NamedAttribute>()); Operation* new_unary_op = rewriter.create(new_unary_op_state); CopyDeviceAndUnderscoredAttributes(op, new_unary_op); rewriter.replaceOp(op, new_unary_op->getResults()); return success();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
ConversionPatternRewriter& rewriter) const final { if (op.getCallTargetName() != "ApproxTopK") { return mlir::failure(); } auto is_supported_attr_name = [](NamedAttribute attr) { auto name = attr.getName(); return name == "call_target_name" || name == "backend_config" || name == "api_version" || name == "called_computations"; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
OperationState new_unary_op_state(loc, first_user->getName().getStringRef(), op.getOperand(), op.getOperand().getType(), ArrayRef<NamedAttribute>()); Operation *new_unary_op = rewriter.create(new_unary_op_state); CopyDeviceAndUnderscoredAttributes(op, new_unary_op); // Unpack results after applying unary operation. auto unpack_unary_op =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
auto flex_builder = std::make_unique<flexbuffers::Builder>(); size_t map_start = flex_builder->StartMap(); auto attrs = vhlo_op->getAttrs(); std::vector<mlir::NamedAttribute> extra_attributes; for (size_t i = 0; i < attrs.size(); ++i) { auto name = attrs[i].getName().str(); auto attr = attrs[i].getValue();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
input.getType().cast<ShapedType>().getElementType()); inferredReturnTypes.assign({result_type}); return success(); } // Default to non-time_major. std::optional<mlir::NamedAttribute> time_major_attr = attr.getNamed("time_major"); bool time_majored = time_major_attr ? time_major_attr->getValue().cast<BoolAttr>().getValue() : false; int64_t batch =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)