Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/
Dside_effect_util.cc38 if (!HasNodeAttr(node->def(), kXlaHasHostTransferAttrName)) { in SetDeviceOrdinalAttributeForNode()
69 } else if (HasNodeAttr(node->def(), "_device_ordinal")) { in SetDeviceOrdinalAttributeForNode()
Dsharding_util.cc152 if (!HasNodeAttr(node_def, kShardingAttribute)) { in GetShardingFromNodeDef()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/
Dunpack_vectorizer.cc33 if (HasNodeAttr(node.def(), "axis")) { in Vectorize()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dencapsulate_tpu_computations_pass.cc297 (HasNodeAttr(n->def(), "_tpu_input_identity") || in RemoveIdentityNodesForArgRetval()
298 HasNodeAttr(n->def(), "_tpu_output_identity"))) { in RemoveIdentityNodesForArgRetval()
374 (!HasNodeAttr(e->src()->def(), outside_compilation_attr_name) || in MoveHeadOutsideCompilationToHost()
375 !HasNodeAttr(e->src()->def(), kOnlyArgOrOcInputAttrName))) { in MoveHeadOutsideCompilationToHost()
380 if (HasNodeAttr(n->def(), outside_compilation_attr_name) && in MoveHeadOutsideCompilationToHost()
382 !HasNodeAttr(n->def(), kXlaIsPlaceholderForArg)) { in MoveHeadOutsideCompilationToHost()
399 HasNodeAttr(e->dst()->def(), outside_compilation_attr_name) && in MoveHeadOutsideCompilationToHost()
400 !HasNodeAttr(e->dst()->def(), kOnlyArgOrOcInputAttrName)) { in MoveHeadOutsideCompilationToHost()
1015 (!HasNodeAttr(e->dst()->def(), outside_compilation_attr_name) || in MoveTailOutsideCompilationToHost()
1016 !HasNodeAttr(e->dst()->def(), kOnlyRetOrOcOutputAttrName))) { in MoveTailOutsideCompilationToHost()
[all …]
Ddistributed_tpu_rewrite_pass.cc300 TF_RET_CHECK(HasNodeAttr(node->def(), kXlaHasHostTransferAttrName)); in SetNodeDeviceForTPUCommunication()
3479 if (HasNodeAttr(image->def(), kXlaHasHostTransferAttrName)) { in CopyOutsideCompilationNodes()
3540 if (HasNodeAttr(node->def(), kXlaHasHostTransferAttrName)) { in ReplicateOutsideCompilationNodes()
3718 if (!HasNodeAttr(n->def(), kOutsideCompilationAttr)) { in LowerOutsideCompilationFunctionalNodes()
3770 HasNodeAttr(n->def(), kXlaHasHostTransferAttrName); in LowerOutsideCompilationFunctionalNodes()
3872 HasNodeAttr(n->def(), kXlaOutsideCompilationInputsAttrName)) { in LowerOutsideCompilationFunctionalNodes()
/external/tensorflow/tensorflow/core/grappler/utils/
Dcanonicalizer.cc59 HasNodeAttr(*node, "value")) { in CompressConstants()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_util.cc205 HasNodeAttr(n->def(), kOutsideCompilationOriginalNodeAttrName)) { in PostprocessDataEdgesBetweenOutsideCompilations()
389 if (HasNodeAttr(e->dst()->def(), outside_compilation_attr_name)) { in PreprocessEdgesBetweenOutsideCompilations()
394 if (HasNodeAttr(e->src()->def(), outside_compilation_attr_name)) { in PreprocessEdgesBetweenOutsideCompilations()
Dextract_outside_compilation_pass.cc46 if (HasNodeAttr(n->def(), kXlaHasHostTransferAttrName)) { in HostGraphControlRetMapping()
401 if (!HasNodeAttr(n->def(), kXlaHasHostTransferAttrName)) { in ResetDeviceOrdinalToPlaceholderValue()
426 } else if (HasNodeAttr(n->def(), "_device_ordinal")) { in ResetDeviceOrdinalToPlaceholderValue()
942 if (!HasNodeAttr(n->def(), kXlaHasHostTransferAttrName)) { in PostprocessLiftedArgs()
1075 if (HasNodeAttr(copy->def(), kXlaHasHostTransferAttrName)) { in ConstructHostGraph()
1186 HasNodeAttr(copy->def(), "_xla_host_transfer_sequencer")) { in ExpandHostGraphIntoMainGraph()
2157 !HasNodeAttr(n->def(), outside_compilation_attr_name)) { in CopyOutsideCompilationConstNodes()
2166 !HasNodeAttr(e->dst()->def(), outside_compilation_attr_name)) { in CopyOutsideCompilationConstNodes()
2188 !HasNodeAttr(e->dst()->def(), outside_compilation_attr_name)) { in CopyOutsideCompilationConstNodes()
2257 if (HasNodeAttr(n->def(), kXlaConnectedToXlaComputationAttrName)) { in operator ()()
[all …]
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()
356 } else if (HasNodeAttr(n->def(), "_xla_host_transfer_sequencer")) { in TEST_F()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dslack.cc83 if (HasNodeAttr(*dataset_node, "slack_period")) { in RecursivelyHandleOp()
/external/tensorflow/tensorflow/core/framework/
Dnode_def_util.h193 bool HasNodeAttr(const NodeDef& node_def, StringPiece attr_name);
Dnode_def_util_test.cc662 EXPECT_FALSE(HasNodeAttr(node_def, kColocationAttrName)); in TEST()
Dnode_def_util.cc326 bool HasNodeAttr(const NodeDef& node_def, StringPiece attr_name) { in HasNodeAttr() function
Dop_kernel.cc247 return HasNodeAttr(def(), attr_name); in HasAttr()
/external/tensorflow/tensorflow/core/grappler/
Dutils.cc478 if (!HasNodeAttr(node, key)) { in CheckAttrExists()
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc485 if (node.op() == "Const" && HasNodeAttr(node, "value")) { in GetFeedShapeAndTypeFromAttribute()
Dmkl_layout_pass.cc2747 bool has_padding_list = HasNodeAttr(orig_node->def(), "padding_list"); in CopyAttrsQuantizedConv2D()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dscoped_allocator_optimizer.cc350 if (HasNodeAttr(*node_def, name)) { in ExtendNodeAttr()
Darithmetic_optimizer.cc446 return HasNodeAttr(node, tag); in IsMarkedWithTag()