Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgraph_optimizer_stage.cc100 string optimized_node_name; in MakeOptimizedNodeName() local
102 strings::StrAppend(&optimized_node_name, node.scope, "/"); in MakeOptimizedNodeName()
105 strings::StrAppend(&optimized_node_name, sub_scope, "/"); in MakeOptimizedNodeName()
108 strings::StrAppend(&optimized_node_name, prefix, "_"); in MakeOptimizedNodeName()
110 strings::StrAppend(&optimized_node_name, node.name); in MakeOptimizedNodeName()
111 return optimized_node_name; in MakeOptimizedNodeName()
118 string optimized_node_name = MakeOptimizedNodeName(root, sub_scope, prefix); in MakeOptimizedNodeName() local
121 strings::StrAppend(&optimized_node_name, "_", name_and_scope.name); in MakeOptimizedNodeName()
123 return optimized_node_name; in MakeOptimizedNodeName()
Darithmetic_optimizer.cc2178 const string optimized_node_name = OptimizedNodeName(matmul); in TrySimplify() local
2179 if (ctx().node_map->NodeExists(optimized_node_name)) return Status::OK(); in TrySimplify()
2204 NodeDef* new_op = AddCopyNode(optimized_node_name, node); in TrySimplify()
2284 const string optimized_node_name = OptimizedNodeName(matmul); in TrySimplify() local
2285 if (ctx().node_map->NodeExists(optimized_node_name)) return Status::OK(); in TrySimplify()
2295 NodeDef* new_op = AddCopyNode(optimized_node_name, transpose_op); in TrySimplify()
2325 const string optimized_node_name = OptimizedNodeName(mul); in TrySimplify() local
2326 if (ctx().node_map->NodeExists(optimized_node_name)) return Status::OK(); in TrySimplify()
2338 NodeDef* new_square_node = AddCopyNode(optimized_node_name, node); in TrySimplify()