Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc2430 NodeDef* new_const_node = AddEmptyNode(optimized_const_name); in TrySimplify() local
2431 status = ConstantFolding::CreateNodeDef(new_const_node->name(), value, in TrySimplify()
2432 new_const_node); in TrySimplify()
2437 new_const_node->set_device(node->device()); in TrySimplify()
2438 MaybeAddControlInput(NodeName(node->input(0)), new_const_node, in TrySimplify()
2440 AddToOptimizationQueue(new_const_node); in TrySimplify()
2447 new_mul_node->add_input(new_const_node->name()); in TrySimplify()
2448 ctx().node_map->AddOutput(new_const_node->name(), new_mul_node->name()); in TrySimplify()