HomeSort by relevance Sort by last modified time
    Searched refs:tensor_util (Results 26 - 50 of 140) sorted by null

12 3 4 5 6

  /external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
permute.py 25 from tensorflow.python.framework import tensor_util
110 p = tensor_util.constant_value(permutation)
power_transform.py 22 from tensorflow.python.framework import tensor_util
73 power = tensor_util.constant_value(
reshape.py 27 from tensorflow.python.framework import tensor_util
173 ndims_ = tensor_util.constant_value(ndims)
181 shape_ = tensor_util.constant_value_as_shape(shape)
228 event_shape_in_ = tensor_util.constant_value(event_shape_in)
  /external/tensorflow/tensorflow/python/ops/ragged/
segment_id_ops.py 24 from tensorflow.python.framework import tensor_util
106 const_num_segments = tensor_util.constant_value(num_segments)
  /external/tensorflow/tensorflow/python/ops/signal/
window_ops.py 26 from tensorflow.python.framework import tensor_util
112 window_length_const = tensor_util.constant_value(window_length)
shape_ops.py 22 from tensorflow.python.framework import tensor_util
31 frame_length = tensor_util.constant_value(frame_length)
32 frame_step = tensor_util.constant_value(frame_step)
33 axis = tensor_util.constant_value(axis)
reconstruction_ops.py 23 from tensorflow.python.framework import tensor_util
81 frame_step_static = tensor_util.constant_value(frame_step)
spectral_ops.py 26 from tensorflow.python.framework import tensor_util
240 frame_length_static = tensor_util.constant_value(frame_length)
281 value_static = tensor_util.constant_value(value)
  /external/tensorflow/tensorflow/python/util/
example_parser_configuration.py 23 from tensorflow.python.framework import tensor_util
98 tensor_util.make_tensor_proto(fetched[dense_def_start + i]))
  /external/tensorflow/tensorflow/python/autograph/operators/
control_flow.py 26 from tensorflow.python.framework import tensor_util
65 if tensor_util.is_tensor(iter_):
182 tensor_util.is_tensor(v) or isinstance(v, data_flow_ops.QueueBase)
255 if tensor_util.is_tensor(cond):
data_structures.py 26 from tensorflow.python.framework import tensor_util
109 if tensor_util.is_tensor(elements):
191 elif tensor_util.is_tensor(list_):
261 elif tensor_util.is_tensor(list_):
325 elif tensor_util.is_tensor(list_):
  /external/tensorflow/tensorflow/python/keras/engine/
training_utils_test.py 29 from tensorflow.python.framework import tensor_util
46 self.assertTrue(tensor_util.is_tensor(vals))
49 self.assertTrue(tensor_util.is_tensor(vals[0]))
69 self.assertTrue(tensor_util.is_tensor(vals[0]))
70 self.assertTrue(tensor_util.is_tensor(vals[1]))
86 self.assertTrue(tensor_util.is_tensor(vals['a']))
87 self.assertTrue(tensor_util.is_tensor(vals['b']))
training_eager.py 28 from tensorflow.python.framework import tensor_util
251 if len(inputs) and tensor_util.is_tensor(inputs[0]):
280 return [tensor_util.constant_value(v) for v in results]
302 if len(inputs) and tensor_util.is_tensor(inputs[0]):
330 return [tensor_util.constant_value(v) for v in results]
partial_batch_padding_handler.py 24 from tensorflow.python.framework import tensor_util
47 x for x in nest.flatten(batch_features) if tensor_util.is_tensor(x)
  /external/tensorflow/tensorflow/contrib/distributions/python/ops/
estimator.py 24 from tensorflow.python.framework import tensor_util
140 return tensor_util.constant_value(ops.convert_to_tensor(x))
independent.py 26 from tensorflow.python.framework import tensor_util
141 self._static_reinterpreted_batch_ndims = tensor_util.constant_value(
236 static_reinterpreted_batch_ndims = tensor_util.constant_value(
  /external/tensorflow/tensorflow/contrib/model_pruning/python/
strip_pruning_vars_lib.py 32 from tensorflow.python.framework import tensor_util
103 attr_value_pb2.AttrValue(tensor=tensor_util.make_tensor_proto(data)))
  /external/tensorflow/tensorflow/python/ops/
sort_ops.py 29 from tensorflow.python.framework import tensor_util
113 axis_static = tensor_util.constant_value(axis)
logging_ops.py 32 from tensorflow.python.framework import tensor_util
272 if (len(inputs) == 1 and tensor_util.is_tensor(inputs[0])
285 lambda x: "" if tensor_util.is_tensor(x) else x,
305 elif tensor_util.is_tensor(x):
sort_ops_test.py 27 from tensorflow.python.framework import tensor_util
112 self.assertFalse(tensor_util.constant_value(transposition) is None)
115 tensor_util.constant_value(transposition),
  /external/tensorflow/tensorflow/python/framework/
framework_lib.py 55 from tensorflow.python.framework.tensor_util import make_tensor_proto
56 from tensorflow.python.framework.tensor_util import MakeNdarray as make_ndarray
sparse_tensor.py 28 from tensorflow.python.framework import tensor_util
146 return tensor_util.constant_value_as_shape(self._dense_shape)
189 return tensor_util.constant_value_as_shape(self._dense_shape)
  /external/tensorflow/tensorflow/python/data/experimental/ops/
resampling.py 28 from tensorflow.python.framework import tensor_util
107 `tensor_util.constant_value(prob_of_original)` returns `None` if it encounters
118 init_static = tensor_util.constant_value(initial_dist_t)
119 target_static = tensor_util.constant_value(target_dist_t)
  /external/tensorflow/tensorflow/python/keras/utils/
tf_utils.py 27 from tensorflow.python.framework import tensor_util
128 elif tensor_util.is_tensor(x):
372 return tensor_util.is_tensor(x) or isinstance(x, variables.Variable)
  /external/tensorflow/tensorflow/python/tools/
optimize_for_inference_lib.py 61 from tensorflow.python.framework import tensor_util
193 tensor_value = tensor_util.MakeNdarray(input_tensor)
341 attr_value_pb2.AttrValue(tensor=tensor_util.make_tensor_proto(
350 attr_value_pb2.AttrValue(tensor=tensor_util.make_tensor_proto(
456 attr_value_pb2.AttrValue(tensor=tensor_util.make_tensor_proto(

Completed in 543 milliseconds

12 3 4 5 6