Home
last modified time | relevance | path

Searched refs:kOutsideCompilationAttr (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/
Dtpu_defs.cc28 const char* const kOutsideCompilationAttr = "_xla_outside_compilation"; variable
Dtpu_defs.h51 extern const char* const kOutsideCompilationAttr;
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dencapsulate_tpu_computations_pass.cc691 !TryGetNodeAttr(n->def(), kOutsideCompilationAttr, in MoveHeadOutsideCompilationToHost()
703 ph_builder.Attr(kOutsideCompilationAttr, outside_compilation_attr); in MoveHeadOutsideCompilationToHost()
1269 !HasNodeAttr(e->dst()->def(), kOutsideCompilationAttr)) { in ReplaceArgUsedByOutsideCompilationWithPlaceholder()
1338 TF_RETURN_IF_ERROR(GetNodeAttr(e->dst()->def(), kOutsideCompilationAttr, in ReplaceArgUsedByOutsideCompilationWithPlaceholder()
1340 ph_builder.Attr(kOutsideCompilationAttr, outside_compilation_attr); in ReplaceArgUsedByOutsideCompilationWithPlaceholder()
1730 HasNodeAttr(e->dst()->def(), kOutsideCompilationAttr)) in FindArgsToLiftForIfNode()
1741 HasNodeAttr(e->dst()->def(), kOutsideCompilationAttr)) in FindArgsToLiftForIfNode()
1833 !HasNodeAttr(e->dst()->def(), kOutsideCompilationAttr)) { in FindArgsToLiftForWhileNode()
1867 if (!HasNodeAttr(e->dst()->def(), kOutsideCompilationAttr)) { in FindArgsToLiftForCallNode()
1923 id_builder.Attr(kOutsideCompilationAttr, id_builder.node_name()); in MakeIdentityNodesForArgsToLift()
[all …]
Ddistributed_tpu_rewrite_pass.cc352 node->attrs().Find(kOutsideCompilationAttr); in FindTaggedNodes()
356 kOutsideCompilationAttr, " attr but no ", in FindTaggedNodes()
374 kOutsideCompilationAttr, " attr."); in FindTaggedNodes()
378 return errors::Internal("Attr ", kOutsideCompilationAttr, " on node ", in FindTaggedNodes()
3599 GetNodeAttr(src->def(), kOutsideCompilationAttr, in CopyOutsideCompilationEdges()
3718 if (!HasNodeAttr(n->def(), kOutsideCompilationAttr)) { in LowerOutsideCompilationFunctionalNodes()
3752 TF_RETURN_IF_ERROR(GetNodeAttr(n->def(), kOutsideCompilationAttr, in LowerOutsideCompilationFunctionalNodes()
3815 node->AddAttr(kOutsideCompilationAttr, outside_compilation_attr); in LowerOutsideCompilationFunctionalNodes()
3863 n->ClearAttr(kOutsideCompilationAttr); in LowerOutsideCompilationFunctionalNodes()
4203 node->ClearAttr(kOutsideCompilationAttr); in UpdateHeadTailOutsideCompilation()