opencv_gpu_mat_as_pytorch_tensor

savant.utils.memory_repr_pytorch.opencv_gpu_mat_as_pytorch_tensor(gpu_mat)

Returns PyTorch tensor in HWC format for the given OpenCV GpuMat (zero-copy).