TorchSharp
TorchSharp copied to clipboard
Refactor TorchVision Normalize method like pytorch.
Refactor TorchVision Normalize method like pytorch to support any kind of Tensor Image (.., C, H, W)
This is exactly what I need, currently TorchSharp in image loading and transformer tensor need to manually adjust the shape to adapt to dimensional changes.
@dotnet-policy-service agree
@alinpahontu2912 Could you please take a look at this PR when you have time? Your feedback would be appreciated. Thanks!