MCPcopy Create free account
hub / github.com/alibaba/nann / shape

Function shape

tensorflow/tensorflow/python/ops/array_ops.py:425–447  ·  view source on GitHub ↗

Returns the shape of a tensor. This operation returns a 1-D integer tensor representing the shape of `input`. For example: ```python t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]) tf.shape(t) # [2, 2, 3] ``` Args: input: A `Tensor` or `SparseTensor`. nam

(input, name=None, out_type=dtypes.int32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

shape_v2Function · 0.70
boolean_maskFunction · 0.70
_batch_gatherFunction · 0.70
batch_gather_ndFunction · 0.70
repeat_with_axisFunction · 0.70
_with_nonzero_rankFunction · 0.70

Calls 1

shape_internalFunction · 0.85

Tested by

no test coverage detected