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.cc103 string optimized_node_name; in MakeOptimizedNodeName() local
105 strings::StrAppend(&optimized_node_name, node.scope, "/"); in MakeOptimizedNodeName()
108 strings::StrAppend(&optimized_node_name, sub_scope, "/"); in MakeOptimizedNodeName()
111 strings::StrAppend(&optimized_node_name, prefix, "_"); in MakeOptimizedNodeName()
113 strings::StrAppend(&optimized_node_name, node.name); in MakeOptimizedNodeName()
114 return optimized_node_name; in MakeOptimizedNodeName()
121 string optimized_node_name = MakeOptimizedNodeName(root, sub_scope, prefix); in MakeOptimizedNodeName() local
124 strings::StrAppend(&optimized_node_name, "_", name_and_scope.name); in MakeOptimizedNodeName()
126 return optimized_node_name; in MakeOptimizedNodeName()
Darithmetic_optimizer.cc1169 const string optimized_node_name = OptimizedNodeName(transpose); in TrySimplify() local
1170 NodeDef* new_op = AddCopyNode(optimized_node_name, node); in TrySimplify()
2289 const string optimized_node_name = OptimizedNodeName(matmul); in TrySimplify() local
2290 if (ctx().node_map->NodeExists(optimized_node_name)) return Status::OK(); in TrySimplify()
2315 NodeDef* new_op = AddCopyNode(optimized_node_name, node); in TrySimplify()
2397 const string optimized_node_name = OptimizedNodeName(matmul); in TrySimplify() local
2398 if (ctx().node_map->NodeExists(optimized_node_name)) return Status::OK(); in TrySimplify()
2408 NodeDef* new_op = AddCopyNode(optimized_node_name, transpose_op); in TrySimplify()
2438 const string optimized_node_name = OptimizedNodeName(mul); in TrySimplify() local
2439 if (ctx().node_map->NodeExists(optimized_node_name)) return Status::OK(); in TrySimplify()
[all …]