public class ToTensor extends java.lang.Object implements Transform
NDImageUtils.toTensor(NDArray)
Constructor and Description |
---|
ToTensor() |
Modifier and Type | Method and Description |
---|---|
NDArray |
transform(NDArray array)
Applies the
Transform to the given NDArray . |