Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dconstant_folding.cc423 const ConstantFoldNameGenerator& generate_new_name, Graph* constant_graph) { in AddShapeNodeToConstantGraph() argument
428 NodeDefBuilder(generate_new_name(constant_graph, node_name), "Const") in AddShapeNodeToConstantGraph()
450 const ConstantFoldNameGenerator& generate_new_name) { in GetConstantGraph() argument
460 generate_new_name, constant_graph); in GetConstantGraph()
498 const ConstantFoldNameGenerator& generate_new_name) { in ReplaceTensorWithConstant() argument
550 auto builder = NodeDefBuilder(generate_new_name(graph, node_name), "Const") in ReplaceTensorWithConstant()
600 ConstantFoldNameGenerator generate_new_name = opts.generate_new_name; in ConstantFold() local
601 if (generate_new_name == nullptr) { in ConstantFold()
602 generate_new_name = [](Graph* graph, string old_name) { in ConstantFold()
623 &tensors_to_fetch, generate_new_name)); in ConstantFold()
[all …]
Dconstant_folding.h51 ConstantFoldNameGenerator generate_new_name = nullptr; member
Dconstant_folding_test.cc165 auto generate_new_name = [&unique_id](Graph* graph, string old_name) { in TEST_F() local
169 opt.generate_new_name = generate_new_name; in TEST_F()
/external/mesa3d/src/compiler/glsl/
Dlower_xfb_varying.cpp137 generate_new_name(void *mem_ctx, const char *name) in generate_new_name() function
228 new_var_name = generate_new_name(mem_ctx, old_var_name); in lower_xfb_varying()