MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / shape

Function shape

tensorflow/python/ops/array_ops.py:255–277  ·  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 15

boolean_maskFunction · 0.70
CopySubtreeFromMethod · 0.50
GetArraySlice<float>Method · 0.50
Get<uint8>Method · 0.50
Get<int8>Method · 0.50
Get<half>Method · 0.50
EachCellMethod · 0.50
PopulateR2WithLayoutMethod · 0.50
PopulateMethod · 0.50
PopulateWithValueMethod · 0.50
ReplicateMethod · 0.50
CopyRangeMethod · 0.50

Calls 1

shape_internalFunction · 0.85

Tested by

no test coverage detected