Searched refs:tf_ops (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/contrib/graph_editor/ |
D | util.py | 25 from tensorflow.python.framework import ops as tf_ops unknown 101 if isinstance(obj, tf_ops.Tensor): 202 if isinstance(tops, tf_ops.Graph): 207 check_types = (tf_ops.Operation, tf_ops.Tensor) 240 if isinstance(ops, tf_ops.Graph): 251 check_types = None if ignore_ts else tf_ops.Operation 253 return [op for op in ops if isinstance(op, tf_ops.Operation)] 267 if not isinstance(graph, tf_ops.Graph): 289 if isinstance(ts, tf_ops.Graph): 300 check_types = None if ignore_ops else tf_ops.Tensor [all …]
|
D | transform.py | 31 from tensorflow.python.framework import ops as tf_ops unknown 175 op_ = tf_ops.Operation(node_def_, info.graph_, new_inputs, output_types_, 213 if isinstance(top, tf_ops.Operation): 215 elif isinstance(top, tf_ops.Tensor): 439 if not isinstance(dst_graph, tf_ops.Graph): 618 if not isinstance(dst_graph, tf_ops.Graph): 660 if not isinstance(dst_graph, tf_ops.Graph): 735 graph = util.get_unique_graph(flatten_target_ts, check_types=(tf_ops.Tensor))
|
D | select.py | 27 from tensorflow.python.framework import ops as tf_ops unknown 416 if isinstance(seed_ops[0], tf_ops.Tensor): 486 if isinstance(seed_ops[0], tf_ops.Tensor): 670 if graph is not None and not isinstance(graph, tf_ops.Graph): 736 if graph is not None and not isinstance(graph, tf_ops.Graph):
|
D | subgraph.py | 30 from tensorflow.python.framework import ops as tf_ops unknown 622 if not isinstance(graph, tf_ops.Graph):
|
/external/tensorflow/tensorflow/python/grappler/ |
D | graph_placer_test.py | 24 from tensorflow.python.framework import ops as tf_ops unknown 43 g = tf_ops.get_default_graph() 57 train_op = g.get_collection_ref(tf_ops.GraphKeys.TRAIN_OP) 106 train_op = tf_ops.get_collection_ref(tf_ops.GraphKeys.TRAIN_OP) 108 mg = meta_graph.create_meta_graph_def(graph=tf_ops.get_default_graph())
|
D | graph_placer.py | 25 from tensorflow.python.framework import ops as tf_ops unknown 81 with tf_ops.Graph().as_default(): 84 with tf_ops.device("/device:CPU:0"):
|
D | hierarchical_controller.py | 34 from tensorflow.python.framework import ops as tf_ops unknown 296 with tf_ops.name_scope("controller_{}".format(self.ctrl_id)): 407 tf_ops.get_collection(tf_ops.GraphKeys.TRAINABLE_VARIABLES), 1081 if isinstance(g, tf_ops.IndexedSlices): 1084 clipped = tf_ops.IndexedSlices(clipped, g.indices)
|
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/ |
D | sugar.py | 26 from tensorflow.python.framework import ops as tf_ops unknown 81 with tf_ops.name_scope(self._name, 'lt_reshape_encode', 121 with tf_ops.name_scope(self._name, 'lt_reshape_decode',
|
/external/tensorflow/tensorflow/contrib/graph_editor/tests/ |
D | match.py | 24 from tensorflow.python.framework import ops as tf_ops unknown 77 elif isinstance(elem, tf_ops.Operation): 88 if not isinstance(op, tf_ops.Operation):
|