Home
last modified time | relevance | path

Searched refs:as_shape (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/python/tpu/
Dtpu_sharding.py169 shape = tensor_shape.as_shape(shape)
189 return tensor_shape.as_shape(dims)
205 shape = tensor_shape.as_shape(shape)
217 return tensor_shape.as_shape(dims)
Dtpu_feed.py275 tuple_shapes = [tensor_shape.as_shape(shape) for shape in tuple_shapes]
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape.py890 other = as_shape(other)
920 other = as_shape(other)
936 other = as_shape(other)
1050 other = as_shape(other)
1094 other = as_shape(other)
1145 other = as_shape(other)
1153 other = as_shape(other)
1169 def as_shape(shape): function
Dtensor_shape_test.py368 tensor_shape.as_shape(proto))
374 tensor_shape.as_shape(proto))
376 partial_proto_shape = tensor_shape.as_shape(
Dconstant_op.py256 shape = tensor_shape.as_shape(shape)
Dtensor_util.py533 tensor_shape=tensor_shape.as_shape(shape).as_proto())
843 return tensor_shape.as_shape(
Dop_def_library.py199 return tensor_shape.as_shape(v).as_proto()
/external/tensorflow/tensorflow/python/keras/layers/
Drecurrent.py158 tensor_shape.as_shape(output_dim).as_list())
434 input_shape = tensor_shape.as_shape(input_shape)
450 output_dim = tensor_shape.as_shape(flat_output_size).as_list()
453 output_shape = tensor_shape.as_shape([time_step, batch] + output_dim)
455 output_shape = tensor_shape.as_shape([batch, time_step] + output_dim)
457 output_shape = tensor_shape.as_shape([batch] + output_dim)
471 state_shape = [batch] + tensor_shape.as_shape(flat_state).as_list()
472 return tensor_shape.as_shape(state_shape)
530 input_shape = tensor_shape.as_shape(input_shape)
570 InputSpec(shape=[None] + tensor_shape.as_shape(dim).as_list())
[all …]
/external/tensorflow/tensorflow/python/ops/
Dparsing_ops.py269 feature_tensor_shape = tensor_shape.as_shape(feature.shape)
945 dense_shapes = [tensor_shape.as_shape(shape) for shape in dense_shapes]
1445 tensor_shape.as_shape(shape).as_proto()
1449 tensor_shape.as_shape(shape).as_proto()
1781 context_dense_shapes = [tensor_shape.as_shape(shape).as_proto()
1783 feature_list_dense_shapes = [tensor_shape.as_shape(shape).as_proto()
2076 dense_shapes = [tensor_shape.as_shape(shape) for shape in dense_shapes]
Dinit_ops_v2_test.py46 self.assertEqual(tensor_shape.as_shape(shape), t1.shape)
47 self.assertEqual(tensor_shape.as_shape(shape), t2.shape)
58 self.assertEqual(tensor_shape.as_shape(shape), t1.shape)
59 self.assertEqual(tensor_shape.as_shape(shape), t2.shape)
Drnn_cell_impl.py142 p = tensor_shape.as_shape(prefix)
155 s = tensor_shape.as_shape(suffix)
161 shape = tensor_shape.as_shape(p_static).concatenate(s_static)
Dnn_ops.py980 tensor_shape.as_shape(input.shape),
981 tensor_shape.as_shape(filters.shape),
4026 noise_shape_ = tensor_shape.as_shape(noise_shape)
Dvariable_scope.py677 shape = tensor_shape.as_shape(shape)
852 shape = tensor_shape.as_shape(shape)
/external/tensorflow/tensorflow/python/data/util/
Dconvert.py53 shape_like = tensor_shape.as_shape(shape_like)
Dstructure.py432 self._shape = tensor_shape.as_shape(shape)
506 self._dense_shape = tensor_shape.as_shape(dense_shape)
Dstructure_test.py73 tensor_shape.as_shape(expected).is_compatible_with(actual))
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dscript_ops.py137 output_types, tensor_shape.as_shape, output_shapes)
/external/tensorflow/tensorflow/python/data/ops/
Diterator_ops.py186 output_types, tensor_shape.as_shape, output_shapes)
274 output_types, tensor_shape.as_shape, output_shapes)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dtensor_signature.py75 other = tensor_shape.as_shape(other)
/external/tensorflow/tensorflow/python/eager/
Dexecute.py145 shape = tensor_shape.as_shape(v)
Dbackprop.py80 return tensor_shape.as_shape(value).as_proto()
82 return [tensor_shape.as_shape(v).as_proto() for v in value]
/external/tensorflow/tensorflow/python/ops/distributions/
Ddistribution.py671 return tensor_shape.as_shape(self._batch_shape())
705 return tensor_shape.as_shape(self._event_shape())
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dbatching.py547 output_types, tensor_shape.as_shape, output_shapes)
/external/tensorflow/tensorflow/python/training/
Dinput.py672 shape_list = [tensor_shape.as_shape(s) for s in shape_list]
/external/tensorflow/tensorflow/python/training/tracking/
Dutil.py261 shape_object = tensor_shape.as_shape(shape)

12