class towhee.models.utils.video_transforms.NormalizeVideo(mean, std, inplace=False)[source]

Bases: object

Original code from torchvision:

Normalize the video clip by mean subtraction and division by standard deviation :param mean: pixel RGB mean :type mean: 3-tuple :param std: pixel RGB standard deviation :type std: 3-tuple :param inplace: whether do in-place normalization :type inplace: boolean



clip (torch.tensor) – video clip to be normalized. Size is (C, T, H, W)

__init__(mean, std, inplace=False)[source]
__repr__() str[source]

Return repr(self).