Home
last modified time | relevance | path

Searched refs:with_rank (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dsparse_tensor.py144 indices_shape = indices.shape.with_rank(2)
145 values_shape = values.shape.with_rank(1)
146 dense_shape_shape = dense_shape.shape.with_rank(1)
Dindexed_slices.py237 self._indices_shape = tensor_shape.as_shape(indices_shape).with_rank(1)
Dtensor_shape.py1040 def with_rank(self, rank): member in TensorShape
Dtensor_util.py922 shape = tensor.get_shape().with_rank(1)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-tensor-shape.pbtxt70 name: "with_rank"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-tensor-shape.pbtxt70 name: "with_rank"
/external/tensorflow/tensorflow/python/keras/layers/
Dkernelized.py231 input_shape = input_shape.with_rank(2)
/external/tensorflow/tensorflow/python/ops/
Darray_ops.py3696 multiples_shape = op.inputs[1].get_shape().with_rank(1)
3697 input_shape = op.inputs[0].get_shape().with_rank(multiples_shape[0])
3701 multiples = tensor_util.constant_value_as_shape(op.inputs[1]).with_rank(
3966 result.set_shape(result.get_shape().with_rank(4))
4031 result.set_shape(result.get_shape().with_rank(4))
Dimage_ops_impl.py117 static_shape = image.get_shape().with_rank(rank).as_list()
140 image_shape = image.get_shape().with_rank(3)
220 image_shape = image.get_shape().with_rank(3)
286 image_shape = image.get_shape().with_rank(2)
Dnn_ops.py198 filter_shape = filter_shape.with_rank(
205 input_shape = input_shape.with_rank(
1432 input.get_shape().with_rank(num_spatial_dims + 2)
Dnn_impl.py1054 pointwise_filter_shape = pointwise_filter.get_shape().with_rank(4)
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Drnn_cell.py451 input_size = inputs.shape.with_rank(2).dims[1]
/external/tensorflow/tensorflow/python/ops/ragged/
Drow_partition.py1059 uniform_row_length = uniform_row_length.with_rank(1)
/external/tensorflow/tensorflow/python/training/
Dinput.py514 rank = t.dense_shape.shape.with_rank(1).dims[0]
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/
Drnn_cell_impl.py1047 input_size = inputs.get_shape().with_rank(2).dims[1].value