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

Function size_internal

tensorflow/python/ops/array_ops.py:334–358  ·  view source on GitHub ↗

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

(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 2

sizeFunction · 0.85
sizeMethod · 0.85

Calls 7

constantFunction · 0.90
name_scopeMethod · 0.80
castMethod · 0.80
is_fully_definedMethod · 0.80
get_shapeMethod · 0.45
num_elementsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected