def crop(clip, i, j, h, w):
    """
    Args:
        clip (torch.tensor): Video clip to be cropped. Size is (C, T, H, W)
    """
    assert len(clip.size()) == 4, "clip should be a 4D tensor"
    return clip[..., i : i + h, j : j + w]

    Args:
        clip (torch.tensor): Video clip to be cropped. Size is (C, T, H, W)
    
dataset/transforms.py