View source on GitHub |
An Iterator over rows of a VarLenTensorValue as dense np.arrays.
tfma.types.VarLenTensorValue.DenseRowIterator(
tensor
)
Because the VarLenTensorValue was created from a set of variable length (dense) arrays, we can invert this process to turn a VarLenTensorValue back into the original dense arrays.