tf.SparseTensor.__init__(indices, values, shape)
Creates a SparseTensor
.
Args:
-
indices
: A 2-D int64 tensor of shape[N, ndims]
. -
values
: A 1-D tensor of any type and shape[N]
. -
shape
: A 1-D int64 tensor of shape[ndims]
.
Returns:
A SparseTensor
Please login to continue.