Home
last modified time | relevance | path

Searched refs:HasNodeAttr (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dside_effect_util.cc30 if (!HasNodeAttr(node->def(), kXlaHasHostTransferAttrName)) { in SetDeviceOrdinalAttributeForNode()
61 } else if (HasNodeAttr(node->def(), "device_ordinal")) { in SetDeviceOrdinalAttributeForNode()
Dsharding_util.cc31 if (!HasNodeAttr(node_def, kShardingAttribute)) { in GetShardingFromNodeDef()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_util.cc199 HasNodeAttr(n->def(), kOutsideCompilationOriginalNodeAttrName)) { in PostprocessDataEdgesBetweenOutsideCompilations()
342 if (HasNodeAttr(e->dst()->def(), outside_compilation_attr_name)) { in PreprocessEdgesBetweenOutsideCompilations()
347 if (HasNodeAttr(e->src()->def(), outside_compilation_attr_name)) { in PreprocessEdgesBetweenOutsideCompilations()
Dextract_outside_compilation_pass.cc412 if (!HasNodeAttr(n->def(), kXlaHasHostTransferAttrName)) { in ResetDeviceOrdinalToPlaceholderValue()
437 } else if (HasNodeAttr(n->def(), "device_ordinal")) { in ResetDeviceOrdinalToPlaceholderValue()
554 if (HasNodeAttr(copy->def(), kXlaHasHostTransferAttrName)) { in ConstructHostGraph()
669 HasNodeAttr(copy->def(), "_xla_host_transfer_sequencer")) { in ExpandHostGraphIntoMainGraph()
1535 if (HasNodeAttr(n->def(), kXlaConnectedToXlaComputationAttrName)) { in operator ()()
1539 if (HasNodeAttr(n->def(), kXlaConnectedFromXlaComputationAttrName)) { in operator ()()
1609 if (HasNodeAttr(n->def(), outside_compilation_attr_name)) { in ExtractOutsideCompilationForFunction()
1639 if (HasNodeAttr(n->def(), "_outside_compilation_subgraph")) { in ExtractOutsideCompilationForFunction()
Dextract_outside_compilation_pass_test.cc99 EXPECT_TRUE(HasNodeAttr(add_node->def(), "_xla")); in TEST()
100 EXPECT_TRUE(HasNodeAttr(add_node->def(), "_oc")); in TEST()
365 } else if (HasNodeAttr(n->def(), "_xla_host_transfer_sequencer")) { in TEST_F()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/
Dunpack_vectorizer.cc33 if (HasNodeAttr(node.def(), "axis")) { in Vectorize()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfuse_quantized_convolution.cc123 if (HasNodeAttr(quantized_conv2D_node, "dilations")) in FuseQuantizedConvolutionAndRequantize()
/external/tensorflow/tensorflow/core/framework/
Dnode_def_util.h176 bool HasNodeAttr(const NodeDef& node_def, StringPiece attr_name);
Dnode_def_util.cc298 bool HasNodeAttr(const NodeDef& node_def, StringPiece attr_name) { in HasNodeAttr() function
Dop_kernel.cc222 return HasNodeAttr(def(), attr_name); in HasAttr()
/external/tensorflow/tensorflow/core/grappler/
Dutils.cc478 if (!HasNodeAttr(node, key)) { in CheckAttrExists()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc110 HasNodeAttr(*node, "value")) { in CompressConstants()
Dscoped_allocator_optimizer.cc204 if (HasNodeAttr(*node_def, name)) { in ExtendNodeAttr()
Dconstant_folding.cc3413 HasNodeAttr(*node, "value")) { in CompressConstants()
Darithmetic_optimizer.cc421 return HasNodeAttr(node, tag); in IsMarkedWithTag()
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc426 if (node.op() == "Const" && HasNodeAttr(node, "value")) { in GetFeedShapeAndTypeFromAttribute()
/external/tensorflow/tensorflow/core/graph/
Dmkl_layout_pass.cc2392 bool has_padding_list = HasNodeAttr(orig_node->def(), "padding_list"); in CopyAttrsQuantizedConv2D()