Searched refs:_graph (Results 1 – 25 of 35) sorted by relevance
12
/external/tensorflow/tensorflow/python/framework/ |
D | auto_control_deps.py | 166 self._graph = ops.get_default_graph() 167 self._graph._add_control_dependencies = True # pylint: disable=protected-access 168 self._n_operations = len(self._graph.get_operations()) 234 if self._graph is not ops.get_default_graph(): 239 if hasattr(self._graph, "outer_graph"): 240 outer_val = self._graph.outer_graph._add_control_dependencies 241 self._graph._add_control_dependencies = outer_val 243 self._graph._add_control_dependencies = False 253 new_operations = self._graph.get_operations()[self._n_operations:] 289 if (op.type not in self._graph._registered_ops # pylint: disable=protected-access [all …]
|
D | ops.py | 426 c_graph = self._op._graph._c_graph # pylint: disable=protected-access 541 self._op._graph._c_graph, # pylint: disable=protected-access 1921 self._graph = g 1959 self._id_value = self._graph._next_id() 1977 op_def = self._graph._get_op_def(node_def.op) 1982 self._c_op = _create_c_op(self._graph, node_def, grouped_inputs, 1995 self._graph._add_op(self) # pylint: disable=protected-access 2219 self._graph._c_graph, # pylint: disable=protected-access 2244 self._graph._c_graph, # pylint: disable=protected-access 2269 self._graph._c_graph, # pylint: disable=protected-access [all …]
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_utils_test.py | 59 cls._graph = cls._sess.graph 192 self._graph, 224 self._graph, 239 self._graph, 251 self._graph, 265 self._graph, 278 self._graph, 292 self._graph, 307 self._graph, 320 self._graph, [all …]
|
D | debug_gradients.py | 94 self._graph = None 96 self._graph = y_tensor.graph 106 return self._graph 287 if self._graph is None: 288 self._graph = tensor.graph 289 elif self._graph != tensor.graph: 292 (tensor.graph, self._graph))
|
/external/tensorflow/tensorflow/contrib/predictor/ |
D | core_estimator_predictor.py | 68 self._graph = graph or ops.Graph() 69 with self._graph.as_default(): 80 self._feed_tensors = {k: self._graph.get_tensor_by_name(v.name) 83 self._fetch_tensors = {k: self._graph.get_tensor_by_name(v.name)
|
D | saved_model_predictor.py | 149 self._graph = graph or ops.Graph() 151 with self._graph.as_default(): 161 self._feed_tensors = {k: self._graph.get_tensor_by_name(v) 163 self._fetch_tensors = {k: self._graph.get_tensor_by_name(v)
|
D | contrib_estimator_predictor.py | 54 self._graph = graph or ops.Graph() 55 with self._graph.as_default():
|
D | predictor.py | 31 return self._graph
|
/external/tensorflow/tensorflow/python/tpu/ |
D | session_support.py | 214 self._graph = None 220 self._graph = ops.Graph() 223 graph=self._graph, 230 with self._graph.as_default(): 313 self._graph = ops.Graph() 326 with self._graph.as_default(): 328 self._session = _clone_session(training_session, self._graph)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | base_layer_utils.py | 444 self._graph = ops.get_default_graph() 445 self._num_operations = len(self._graph.get_operations()) 459 if (self._graph is not ops.get_default_graph() or 460 self._graph.name != 'keras_graph'): 464 new_operations = self._graph.get_operations()[self._num_operations:] 476 op.type not in self._graph._registered_ops or 478 self._graph._registered_ops[op.type]))
|
/external/tensorflow/tensorflow/python/profiler/ |
D | model_analyzer.py | 178 self._graph = graph 181 self._graph, op_log=op_log) 184 _graph_string(self._graph), op_log.SerializeToString()) 200 self._graph, run_meta=run_meta) 203 self._coverage = print_mdl.AddStep(step, _graph_string(self._graph),
|
D | pprof_profiler.py | 268 self._graph = graph 373 for op in self._graph.get_operations():
|
/external/tensorflow/tensorflow/contrib/graph_editor/ |
D | subgraph.py | 196 self._graph = util.get_unique_graph(ops_and_ts) 210 self._graph = None 247 self._graph = other._graph 486 return self._graph 520 return self._graph is not None
|
D | util.py | 356 self._graph = graph 362 if self._version != self._graph.version: 369 ops = self._graph.get_operations() 376 self._version = self._graph.version 390 return self._graph
|
D | transform.py | 204 self._graph = info.graph 302 if self._graph == self._graph_: 305 id(self._graph), in_place_str), file=res) 308 id(self._graph), id(self._graph_)), file=res)
|
/external/tensorflow/tensorflow/python/client/ |
D | session.py | 640 self._graph = ops.get_default_graph() 644 self._graph = graph 676 self._session = tf_session.TF_NewSessionRef(self._graph._c_graph, opts) 750 return self._graph 760 return self._graph.as_graph_def(add_shapes=self._add_shapes) 1048 fetch_handler = _FetchHandler(self._graph, fetches, {}) 1138 self._graph, fetches, feed_dict_tensor, feed_handles=feed_handles) 1216 fetch_handler = _FetchHandler(self._graph, fetches, {}) 1344 op = self._graph.get_operation_by_name(node_name) 1348 message = error_interpolation.interpolate(message, self._graph) [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | supervisor.py | 323 self._graph = graph 367 graph=self._graph, 633 training_util.write_graph(self._graph.as_graph_def(add_shapes=True), 636 self._summary_writer.add_graph(self._graph) 772 queue_runners = self._graph.get_collection(ops.GraphKeys.QUEUE_RUNNERS) 922 for op in self._graph.get_operations():
|
D | session_manager.py | 145 self._graph = graph 194 sess = session.Session(self._target, graph=self._graph, config=config) 413 sess = session.Session(self._target, graph=self._graph, config=config)
|
/external/tensorflow/tensorflow/python/layers/ |
D | base.py | 217 self._graph = None 230 return self._graph 504 … self._graph = ops._get_graph_from_inputs(nest.flatten(inputs), # pylint: disable=protected-access 505 graph=self._graph)
|
/external/tensorflow/tensorflow/contrib/testing/python/framework/ |
D | fake_summary_writer.py | 50 self._graph = graph 73 test_case.assertTrue(expected_graph is self._graph)
|
/external/tensorflow/tensorflow/python/eager/ |
D | function.py | 258 g = self._func._graph 263 g = next_func._graph 360 self._graph = graph 370 for f in self._graph._functions.values():
|
/external/tensorflow/tensorflow/python/ops/ |
D | custom_gradient.py | 74 target_t._op._graph._c_graph, # pylint: disable=protected-access
|
D | summary_ops_v2.py | 331 session.run(_graph(x, 0), feed_dict={x: data}) 829 _graph = graph # for functions with a graph parameter variable
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | profile_analyzer_cli.py | 236 self._graph = graph 451 for op in self._graph.get_operations():
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | estimator.py | 466 self._graph = None 1034 self._graph = ops.Graph() 1035 with self._graph.as_default() as g, g.device(self._device_fn):
|
12