tf.SparseTensorValue

Class SparseTensorValue

Defined in tensorflow/python/framework/sparse_tensor.py.

See the guide: Sparse Tensors > Sparse Tensor Representation

SparseTensorValue(indices, values, dense_shape)

Properties

dense_shape

Alias for field number 2

indices

Alias for field number 0

values

Alias for field number 1

Methods

__new__

@staticmethod
__new__(
    _cls,
    indices,
    values,
    dense_shape
)

Create new instance of SparseTensorValue(indices, values, dense_shape)