- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for AttrValue (0.4 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
AttrValue nested_value; TF_RETURN_IF_ERROR(ConvertAttribute(attr, &nested_value)); switch (nested_value.value_case()) { case AttrValue::kS: list->add_s(nested_value.s()); break; case AttrValue::kType: list->add_type(nested_value.type()); break; case AttrValue::kShape:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
const tensorflow::AttrValue& default_value, const char* attr_name, TF_Status* status) { switch (default_value.value_case()) { case tensorflow::AttrValue::kS: { const string& v = default_value.s(); TFE_OpSetAttrString(op, attr_name, v.data(), v.size()); break; } case tensorflow::AttrValue::kI:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
tensorflow/c/kernels.cc
LIST_CASE(tensor, TF_ATTR_FUNC); #undef LIST_CASE break; case tensorflow::AttrValue::kPlaceholder: *list_size = -1; *total_size = -1; break; case tensorflow::AttrValue::kFunc: *list_size = -1; *total_size = -1; break; case tensorflow::AttrValue::VALUE_NOT_SET: status->status = absl::InvalidArgumentError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 36K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy
final String attrValue @Inject ChangingAttributeRule(String attrValue) { this.attrValue = attrValue } void execute(ComponentMetadataContext context) { context.details.allVariants { attributes.attribute(Attribute.of("my.attribute.name", String), attrValue) } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 26.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
.begin())>::value>::type> Status SetTypeAttribute(absl::string_view name, ContainerT types, AttrValueMap* values) { AttrValue value; auto& type_list = *value.mutable_list(); for (auto type : types) { DataType dtype; TF_RETURN_IF_ERROR(ConvertScalarTypeToDataType(type, &dtype)); type_list.add_type(dtype); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) { llvm::ArrayRef<mlir::TensorType> subtypes = resource_type.getSubtypes(); if (!subtypes.empty()) { AttrValue handle_dtypes_attr; AttrValue handle_shapes_attr; for (mlir::TensorType subtype : subtypes) { DataType dtype; TF_RETURN_IF_ERROR(ConvertToDataType(subtype.getElementType(), &dtype));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) { llvm::ArrayRef<mlir::TensorType> subtypes = resource_type.getSubtypes(); if (!subtypes.empty()) { AttrValue handle_dtypes_attr; AttrValue handle_shapes_attr; for (mlir::TensorType subtype : subtypes) { DataType dtype; TF_RETURN_IF_ERROR(ConvertToDataType(subtype.getElementType(), &dtype));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
const void* proto, size_t proto_len, TF_Status* status) { tensorflow::AttrValue attr_value; if (!attr_value.ParseFromArray(proto, proto_len)) { status->status = InvalidArgument( "Unparseable AttrValue proto passed to " "TF_FunctionSetAttrValueProto"); return; } auto fdef_or = func->record->mutable_fdef();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
} OpBuilder builder(loc.getContext()); for (const auto& name_and_value : node_def.attr()) { 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()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0)