Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2.py92 feeds=[wrapped.graph.as_graph_element(
94 fetches=[wrapped.graph.as_graph_element(saver_def.restore_op_name)])
104 feeds=[wrapped.graph.as_graph_element(inp.name)
106 fetches={name: wrapped.graph.as_graph_element(out.name)
137 asset_feed_tensors.append(wrapped.graph.as_graph_element(tensor_name))
141 fetches=[wrapped.graph.as_graph_element(init_op)])
Dutils_impl.py172 return graph.as_graph_element(
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph_test.py414 graph.as_graph_element("new_hidden1/Relu:0"), name="hidden1/Relu")
430 graph.as_graph_element("new_hidden2/Relu:0"), name="hidden2/Relu")
688 graph.as_graph_element("new_queue1/dequeue:0")
689 graph.as_graph_element("new_queue1/close")
835 self.assertEqual("/device:CPU:0", str(graph1.as_graph_element("a").device))
837 str(graph1.as_graph_element("b").device))
839 str(graph1.as_graph_element("matmul").device))
849 self.assertEqual("", str(graph2.as_graph_element("a").device))
850 self.assertEqual("", str(graph2.as_graph_element("b").device))
851 self.assertEqual("", str(graph2.as_graph_element("matmul").device))
[all …]
Dops.py3624 def as_graph_element(self, obj, allow_tensor=True, allow_operation=True): member in Graph
3785 return self.as_graph_element(name, allow_tensor=False, allow_operation=True)
3833 return self.as_graph_element(name, allow_tensor=True, allow_operation=False)
4711 c = self.as_graph_element(c)
Dmeta_graph.py900 col_op = graph.as_graph_element(
Dops_test.py2464 self.assertEqual(a, g.as_graph_element(ConvertibleObj()))
2466 g.as_graph_element(NonConvertibleObj())
/external/tensorflow/tensorflow/python/debug/lib/
Dstepper.py211 fetch_list.append(self._sess.graph.as_graph_element(fetch))
288 initializer = graph.as_graph_element(inp.op.name + "/Assign")
366 node = self._sess.graph.as_graph_element(node_name)
389 elem = self._sess.graph.as_graph_element(name)
494 graph_element = self._sess.graph.as_graph_element(target_name)
560 fetched = self._sess.graph.as_graph_element(target_name)
671 self._sess.graph.as_graph_element(h)
897 graph_element = self._sess.graph.as_graph_element(graph_element_name)
966 return self._sess.graph.as_graph_element(node_name)
Dstepper_test.py553 ph0_node = self.sess.graph.as_graph_element("ph0")
582 ph0_node = self.sess.graph.as_graph_element("ph0")
/external/tensorflow/tensorflow/python/training/
Dqueue_runner_impl.py177 self._queue = g.as_graph_element(
179 self._enqueue_ops = [g.as_graph_element(
182 self._close_op = g.as_graph_element(ops.prepend_name_scope(
184 self._cancel_op = g.as_graph_element(ops.prepend_name_scope(
Dbasic_session_run_hooks.py1073 element = graph.as_graph_element(obj)
1075 element = graph.as_graph_element(obj + ":0")
1078 graph.as_graph_element(obj + ":1")
Dsaver_test.py2568 hidden1 = graph.as_graph_element("new_hidden1/Relu:0")
2569 weights1 = graph.as_graph_element("new_hidden1/weights:0")
2570 biases1 = graph.as_graph_element("new_hidden1/biases:0")
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dsaved_model_utils.py46 input_key: graph.as_graph_element(input_value.name)
50 output_key: graph.as_graph_element(output_value.name)
Dhead_test.py433 graph.as_graph_element(input_value.name): features[input_key]
435 fetches = {output_key: graph.as_graph_element(output_value.name)
469 feeds = {graph.as_graph_element(input_value.name): examples}
470 fetches = {output_key: graph.as_graph_element(output_value.name)
/external/tensorflow/tensorflow/contrib/copy_graph/python/util/
Dcopy_elements.py145 already_present = to_graph.as_graph_element(
256 return graph.as_graph_element(
/external/tensorflow/tensorflow/python/eager/
Dwrap_function.py389 nest.map_structure(import_graph.as_graph_element, inputs),
390 nest.map_structure(import_graph.as_graph_element, outputs))
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py1404 self._external_values[k] = g.as_graph_element(
1412 g.as_graph_element(op)._set_control_flow_context(self)
1602 self._pred = g.as_graph_element(
1604 self._pivot = g.as_graph_element(
2244 self._maximum_iterations = g.as_graph_element(
2252 self._pivot_for_pred = g.as_graph_element(
2255 self._pivot_for_body = g.as_graph_element(
2259 self._pivot = g.as_graph_element(
2263 g.as_graph_element(ops.prepend_name_scope(exit_name, import_scope))
2268 g.as_graph_element(ops.prepend_name_scope(enter_name, import_scope))
[all …]
Dresource_variable_ops.py642 self._handle = g.as_graph_element(
649 self._initializer_op = g.as_graph_element(
655 self._initial_value = g.as_graph_element(
662 snapshot = g.as_graph_element(
Dvariables.py1624 self._variable = g.as_graph_element(
1627 self._initializer_op = g.as_graph_element(
1633 self._initial_value = g.as_graph_element(
1639 self._snapshot = g.as_graph_element(
Dgradients_test.py276 gradient = gradients.gradients(graph.as_graph_element(var), var)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-graph.pbtxt50 name: "as_graph_element"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-graph.pbtxt50 name: "as_graph_element"
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dmonitors.py1363 element = graph.as_graph_element(obj)
1365 element = graph.as_graph_element(obj + ":0")
1368 graph.as_graph_element(obj + ":1")
/external/tensorflow/tensorflow/python/client/
Dsession.py299 self._unique_fetches.append(ops.get_default_graph().as_graph_element(
1036 subfeed_t = self.graph.as_graph_element(
1092 subfeed_t = self.graph.as_graph_element(