tfma.types.SparseTensorValue

SparseTensorValue encapsulates a batch of sparse tensor values.

values A np.ndarray of values.
indices A np.ndarray of indices.
dense_shape A np.ndarray representing the dense shape.