Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/graph_editor/
Dtransform.py328 def __init__(self, sgv, dst_graph, dst_scope, src_scope): argument
335 self.graph_ = dst_graph
412 dst_graph, argument
439 if not isinstance(dst_graph, tf_ops.Graph):
440 raise TypeError("Expected a tf.Graph, got: {}".format(type(dst_graph)))
447 dst_scope = util.scope_finalize(dst_graph.unique_name(dst_scope[:-1]))
450 info = _TmpInfo(sgv, dst_graph, dst_scope, src_scope)
591 def copy(sgv, dst_graph=None, dst_scope="", src_scope="", argument
616 if dst_graph is None:
617 dst_graph = sgv.graph
[all …]
Dutil.py504 def find_corresponding_elem(target, dst_graph, dst_scope="", src_scope=""): argument
534 return dst_graph.get_tensor_by_name(dst_name)
536 return dst_graph.get_operation_by_name(dst_name)
540 def find_corresponding(targets, dst_graph, dst_scope="", src_scope=""): argument
563 return find_corresponding_elem(top, dst_graph, dst_scope, src_scope)
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc60 GraphDef* dst_graph; // Edge's dst node is in this subgraph member
66 reinterpret_cast<std::uintptr_t>(c.dst_graph), in AbslHashValue()
73 (x.dst_graph == y.dst_graph) && in operator ==()
988 GraphDef* dst_graph = &(*partitions)[dstp]; in Partition() local
989 NodeDef* dst_def = dst_graph->add_node(); in Partition()
1046 if (src_graph == dst_graph && !NeedSameDeviceSendRecv(edge, g_info)) { in Partition()
1077 DupRecvKey key{src->id(), edge->src_output(), dst_graph, on_host}; in Partition()
1125 AddRecv(opts, g_info, dst_graph, edge, &real_recv, &status); in Partition()
1130 if (src_graph == dst_graph) { in Partition()
/external/tensorflow/tensorflow/contrib/graph_editor/tests/
Dtransform_test.py255 graph, dst_graph=copied_graph, dst_scope="imported")
274 graph, dst_graph=copied_graph, dst_scope="imported")
/external/tensorflow/tensorflow/c/
Dc_api.cc2247 Status CopyGraph(Graph* src_graph, Graph* dst_graph, in CopyGraph() argument
2279 ImportGraphDef(opts, gdef, dst_graph, dst_refiner, &results)); in CopyGraph()