Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/graph_editor/
Dtransform.py316 def __init__(self, sgv, dst_graph, dst_scope, src_scope): argument
323 self.graph_ = dst_graph
392 dst_graph, argument
419 if not isinstance(dst_graph, tf_ops.Graph):
420 raise TypeError("Expected a tf.Graph, got: {}".format(type(dst_graph)))
427 dst_scope = util.scope_finalize(dst_graph.unique_name(dst_scope[:-1]))
430 info = _TmpInfo(sgv, dst_graph, dst_scope, src_scope)
543 def copy(sgv, dst_graph=None, dst_scope="", src_scope="", argument
568 if dst_graph is None:
569 dst_graph = sgv.graph
[all …]
Dutil.py493 def find_corresponding_elem(target, dst_graph, dst_scope="", src_scope=""): argument
523 return dst_graph.get_tensor_by_name(dst_name)
525 return dst_graph.get_operation_by_name(dst_name)
529 def find_corresponding(targets, dst_graph, dst_scope="", src_scope=""): argument
552 return find_corresponding_elem(top, dst_graph, dst_scope, src_scope)
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc57 GraphDef* dst_graph; // Edge's dst node is in this subgraph member
65 h = Hash64(reinterpret_cast<const char*>(&k.dst_graph), sizeof(k.dst_graph), in operator ()()
77 (x.dst_graph == y.dst_graph) && in operator ()()
972 GraphDef* dst_graph = &(*partitions)[dstp]; in Partition() local
973 NodeDef* dst_def = dst_graph->add_node(); in Partition()
1029 if (src_graph == dst_graph && !NeedSameDeviceSendRecv(edge, g_info)) { in Partition()
1060 DupRecvKey key{src->id(), edge->src_output(), dst_graph, on_host}; in Partition()
1108 AddRecv(opts, g_info, dst_graph, edge, &real_recv, &status); in Partition()
1113 if (src_graph == dst_graph) { in Partition()
/external/tensorflow/tensorflow/c/
Dc_api.cc2128 Status CopyGraph(Graph* src_graph, Graph* dst_graph, in CopyGraph() argument
2160 ImportGraphDef(opts, gdef, dst_graph, dst_refiner, &results)); in CopyGraph()