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

Function shape_internal

tensorflow/python/ops/array_ops.py:280–305  ·  view source on GitHub ↗

Returns the shape of a tensor. Args: input: A `Tensor` or `SparseTensor`. name: A name for the operation (optional). optimize: if true, encode the shape as a constant when possible. out_type: (Optional) The specified output type of the operation (`int32` or `int64`). Default

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

shapeFunction · 0.85
zeros_likeFunction · 0.85
ones_likeFunction · 0.85

Calls 8

constantFunction · 0.90
name_scopeMethod · 0.80
castMethod · 0.80
in_graph_modeMethod · 0.80
is_fully_definedMethod · 0.80
as_listMethod · 0.80
get_shapeMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected