VideoBase#
- class torchaug.transforms.VideoBase(video_format)[source]#
Abstract class to make a base class for all video transforms.
- Parameters:
video_format (
str) – Dimension order of the video. Can beTCHWorCTHW.
- static check_format(format)[source]#
Check if the format is either
TCHWorCTHW. Raises an error if not.- Parameters:
format (
str) – Format to check.- Return type:
None
- property time_before_channel: bool#
Boolean that checks if the
video_formathas time dimension before channel.
- property video_format#
Dimension order of the video.
Can be
TCHWorCTHW.