- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ConvertAttributeValue (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc
default: return tensorflow::errors::Unimplemented( absl::StrCat("Attribute ", value.DebugString())); } } absl::StatusOr<mlir::Attribute> ConvertAttributeValue(const AttrValue& value, mlir::Builder* builder) { switch (value.value_case()) { case AttrValue::kFunc: {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_attr.h
absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue( const AttrValue& value, mlir::Builder* builder); // Converts all kinds of AttrValue proto into an MLIR attribute. absl::StatusOr<mlir::Attribute> ConvertAttributeValue(const AttrValue& value, mlir::Builder* builder); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
const std::string& attr_name = name_and_value.first; const tensorflow::AttrValue& attr_value = name_and_value.second; absl::StatusOr<Attribute> mlir_attr = tensorflow::ConvertAttributeValue(attr_value, &builder); if (!mlir_attr.ok()) { return emitError(loc, mlir_attr.status().message()); } if (absl::StrContains(op_name, "Dataset") &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
output_tys.push_back(mlir_ty); } llvm::SmallVector<mlir::NamedAttribute, 4> attrs; for (const auto& attr : node_def.attr()) { TF_ASSIGN_OR_RETURN(auto mlir_attr, ConvertAttributeValue(attr.second, &builder)); attrs.push_back({mlir::StringAttr::get(context, attr.first), mlir_attr}); } mlir::Location loc = mlir::UnknownLoc::get(context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
absl::StatusOr<mlir::FlatSymbolRefAttr> ConvertFunctionCallName( const std::string& func_name); // Converts the given non-function-call AttrValue to an MLIR Attribute. absl::StatusOr<mlir::Attribute> ConvertAttributeValue(const AttrValue& value); // Converts the given function-call AttrValue to MLIR Attributes and pushes // them to the given attributes list. For example, if there is a kFunc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)