View source on GitHub |
SparseTensorValue encapsulates a batch of sparse tensor values.
tfma.types.SparseTensorValue(
values, indices, dense_shape
)
Attributes | |
---|---|
values
|
A np.ndarray of values. |
indices
|
A np.ndarray of indices. |
dense_shape
|
A np.ndarray representing the dense shape. |