There was an error while loading. Please reload this page.
transform模块和其他模块不同,调用该模块时需要在path中具体到类的方法,如"path": "transforms.Transforms.TransformForCIFARFactory.createTransform"。
path
"path": "transforms.Transforms.TransformForCIFARFactory.createTransform"
TransformForCIFARFactory.createTransform: 对数据进行Padding、RandomHorizontalFlip、RandomCrop、Normalize操作。
TransformForCIFARFactory.createTransform
TransformForCIFARFactory.createTransformWithTensor: 先将数据转为Tensor,再进行上者操作。
TransformForCIFARFactory.createTransformWithTensor
ToTensorFactory.createToTensor: 将数据转为Tensor。
ToTensorFactory.createToTensor