- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 60 for AttrValue (0.27 sec)
-
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/cc/framework/cc_op_gen_util.h
} return ret; } string PrintTensor(const TensorProto& tensor_proto); string PrintTensorProto(const TensorProto& proto); string PrintAttrValue(StringPiece, const AttrValue& attr_value); bool IsEmptyList(const AttrValue::ListValue& list); string ToCamelCase(StringPiece str); string SeparateNamespaces(StringPiece str); // Returns a <string, bool> pair. The string is the C++ type name to be used for
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
else strides ) strides_attr = attr_value_pb2.AttrValue( list=attr_value_pb2.AttrValue.ListValue(i=strides_to_check) ) if enable_per_channel_quantization: quantized_axis_attr = attr_value_pb2.AttrValue(i=3) quantized_dim_size_attr = attr_value_pb2.AttrValue( list=attr_value_pb2.AttrValue.ListValue( shape=[
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator_test.cc
std::unique_ptr<DeviceMgr> device_mgr_; std::unique_ptr<FunctionLibraryDefinition> lib_def_; std::unique_ptr<ProcessFunctionLibraryRuntime> pflr_; std::unique_ptr<OpKernel> kernel_; }; AttrValue BoolAttr(bool b) { AttrValue v; v.set_b(b); return v; } TEST_F(XlaKernelCreatorTest, OneFloatOneResourceArgument) { FunctionDef fdef = XTimesY(); (*fdef.mutable_attr())["_XlaMustCompile"] = BoolAttr(true);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 01:39:55 UTC 2023 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
// value here because FunctionDef instantiation does not allow placeholder // value for attributes. AttrValue device_ordinal_attr; device_ordinal_attr.set_i(0); protobuf::Map<string, AttrValue> attrs; attrs["_device_ordinal"] = device_ordinal_attr; std::unique_ptr<FunctionBody> host_fbody; const FunctionDef* host_fdef = fld->Find(host_func);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/func_attr.mlir
// Tests #tf_type.func attributes are exported as AttrValue.NameAttrList attributes // with its attr field populated with nested attributes. module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 458 : i32}} { func.func @main() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 16:41:06 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
return {callee}; } CallTargetListTy result; for (const auto& name_attr_pair : n.attrs()) { const AttrValue& attr_value = name_attr_pair.second; if (attr_value.value_case() == AttrValue::kFunc) { result.push_back(attr_value.func()); } else if (attr_value.value_case() == AttrValue::kList) { result.insert(result.end(), attr_value.list().func().begin(), attr_value.list().func().end());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
tensorflow::AttrValue attr_value; if (!attr_value.ParseFromArray(proto, proto_len)) { status->status = InvalidArgument("Unparseable AttrValue proto"); return; } if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) { if (attr_value.value_case() != tensorflow::AttrValue::kList && attr_value.value_case() != tensorflow::AttrValue::VALUE_NOT_SET) { status->status =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.h
#include "tensorflow/core/platform/status.h" namespace tensorflow { // Extracts the attributes of a MLIR operation and populates the converted // attributes in a proto map<string, AttrValue>. Status GetAttrValuesFromOperation( mlir::Operation* inst, llvm::StringRef name, const tensorflow::OpRegistrationData* op_reg_data, bool ignore_unregistered_attrs, AttrValueMap* attributes);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 2.4K bytes - Viewed (0)