- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for AttrValue (0.28 sec)
-
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/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/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/import_model.cc
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 // AttrValue {name : foo, attrs : {k1 : bar, k2 : rfc}}, it will convert it to
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/jit/encapsulate_subgraphs_pass_test.cc
} return false; } return EqualProtoMap<string, AttrValue>( a.attr(), b.attr(), [](const string& s) { return s; }, [](const AttrValue& v) { return v.DebugString(); }, [](const string& key, const AttrValue& av, const AttrValue& bv) { if (key == "ancestors") { // The ancestors are added from a set so the order is unpredictable;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 113.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
break; } case ::tensorflow::AttrValue::kI: flex_builder->Int(key, attr.i()); break; case ::tensorflow::AttrValue::kF: flex_builder->Float(key, attr.f()); break; case ::tensorflow::AttrValue::kB: flex_builder->Bool(key, attr.b()); break; case tensorflow::AttrValue::kList: if (attr.list().s_size() > 0) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)