VideoCamera.torch#

VideoCamera.torch(device='cpu', normalize=True)#

Convert the entire collection into a single 4D PyTorch tensor. Shape: (N, C, H, W) where N is the number of images.