Home
last modified time | relevance | path

Searched refs:attr_map (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/example/
Dexample_parser_configuration.cc57 auto& attr_map = node.attr(); in ExtractExampleParserConfiguration() local
58 auto num_sparse = attr_map.at("Nsparse").i(); in ExtractExampleParserConfiguration()
59 auto num_dense = attr_map.at("Ndense").i(); in ExtractExampleParserConfiguration()
63 auto tdense = attr_map.at("Tdense"); in ExtractExampleParserConfiguration()
64 auto dense_shapes = attr_map.at("dense_shapes"); in ExtractExampleParserConfiguration()
65 auto sparse_types = attr_map.at("sparse_types"); in ExtractExampleParserConfiguration()
/external/swiftshader/third_party/subzero/pydir/
Dcrosstest_generator.py45 attr_map = collections.defaultdict(str, {
49 prefix = arch_map[target] + attr_map[target + '-' + attr]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_utils.h79 auto* attr_map = node->mutable_attr(); in SetNodeAttr() local
80 (*attr_map)[key] = attr_value; in SetNodeAttr()
/external/libtextclassifier/utils/tflite/
Dtext_encoder.cc80 const flexbuffers::Map& attr_map = in Initialize() local
84 attr_map[kTextEncoderConfigAttr].AsBlob(); in Initialize()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util.cc411 auto& attr_map = *d->mutable_attr(); in AddPlaceholdersForFeeds() local
412 attr_map["dtype"].set_type(info.data_type); in AddPlaceholdersForFeeds()
413 *attr_map["shape"].mutable_shape() = info.feed->shape(); in AddPlaceholdersForFeeds()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine_test.cc382 auto* attr_map = node->mutable_attr(); in SetNodeAttr() local
383 (*attr_map)[key] = attr_value; in SetNodeAttr()
/external/tensorflow/tensorflow/core/framework/
Dop_def_util.cc488 void FillAttrMap(const OpDef& op_def, AttrMap* attr_map) { in FillAttrMap() argument
490 (*attr_map)[attr.name()] = &attr; in FillAttrMap()
/external/tensorflow/tensorflow/python/framework/
Dops.py4723 def _attr_scope(self, attr_map): argument
4752 if not isinstance(attr_map, dict):
4759 for name, attr in attr_map.items():
4779 for name, attr in attr_map.items():