Home
last modified time | relevance | path

Searched refs:const_def (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dshape_inference.cc118 NodeDef const_def; in PropagateShapes() local
119 const_def.set_op("Const"); in PropagateShapes()
122 const_def.set_name( in PropagateShapes()
125 AddNodeAttr("dtype", dtype, &const_def); in PropagateShapes()
137 AddNodeAttr("value", value, &const_def); in PropagateShapes()
140 AddNodeAttr(attr.first, attr.second, &const_def); in PropagateShapes()
145 Node* const_node = graph->AddNode(const_def, &s); in PropagateShapes()
Dextract_outside_compilation_pass_test.cc751 NodeDef const_def; in TEST_F() local
755 .Finalize(&const_def)); in TEST_F()
757 Node *const_node = g->AddNode(const_def, &s); in TEST_F()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util_test.cc416 auto const_def = nodes.find("duplicate_name/_0"); in TEST() local
417 ASSERT_NE(const_def, nodes.end()); in TEST()
418 EXPECT_EQ(const_def->second.op(), "Const"); in TEST()
Dtf2xla_util.cc126 NodeDef const_def = iter.second->def(); in ReplaceArgUsageWithConstNode() local
127 const_def.set_name(g->NewName(const_def.name())); in ReplaceArgUsageWithConstNode()
129 Node* const_node = g->AddNode(const_def, &s); in ReplaceArgUsageWithConstNode()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.cpp183 Instruction* const_def = in FindDeclaredConstant() local
185 if (type_id == 0 || const_def->type_id() == type_id) { in FindDeclaredConstant()
/external/angle/third_party/spirv-tools/src/source/opt/
Dconstants.cpp183 Instruction* const_def = in FindDeclaredConstant() local
185 if (type_id == 0 || const_def->type_id() == type_id) { in FindDeclaredConstant()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.cpp183 Instruction* const_def = in FindDeclaredConstant() local
185 if (type_id == 0 || const_def->type_id() == type_id) { in FindDeclaredConstant()