class_docstr: Test transforms for pretrained models in pytorchvideo
code: def test_models(self):
      out_slow_r50 = transform_video(
          video=self.video, model_name="slow_r50"
      )
      self.assertEqual(out_slow_r50.shape, (3, 8, 256, 256))
  
      out_c2d_r50 = transform_video(
          video=self.video, model_name="slow_r50"
      )
      self.assertEqual(out_c2d_r50.shape, (3, 8, 256, 256))
  
      out_i3d_r50 = transform_video(
          video=self.video, model_name="slow_r50"
      )
      self.assertEqual(out_i3d_r50.shape, (3, 8, 256, 256))
  
      out_x3d_xs = transform_video(
          video=self.video, model_name="x3d_xs"
      )
      out_x3d_s = transform_video(video=self.video, model_name="x3d_s")
      out_x3d_m = transform_video(video=self.video, model_name="x3d_m")
      self.assertEqual(out_x3d_xs.shape, (3, 4, 182, 182))
      self.assertEqual(out_x3d_s.shape, (3, 13, 182, 182))
      self.assertEqual(out_x3d_m.shape, (3, 16, 256, 256))
  
      out_mvit_base_16x4 = transform_video(
          video=self.video, model_name="mvit_base_16x4"
      )
      out_mvit_base_32x3 = transform_video(
          video=self.video, model_name="mvit_base_32x3"
      )
      self.assertEqual(out_mvit_base_16x4.shape, (3, 16, 224, 224))
      self.assertEqual(out_mvit_base_32x3.shape, (3, 32, 224, 224))
  
      out_csn_r101 = transform_video(
          video=self.video, model_name="csn_r101"
      )
      self.assertEqual(out_csn_r101.shape, (3, 32, 256, 256))
  
      out_r2plus1d_r50 = transform_video(
          video=self.video, model_name="r2plus1d_r50"
      )
      self.assertEqual(out_r2plus1d_r50.shape, (3, 16, 256, 256))
  
      out_slowfast_r50 = transform_video(
          video=self.video, model_name="slowfast_r50"
      )
      out_slowfast_r101 = transform_video(
          video=self.video, model_name="slowfast_r101"
      )
      self.assertEqual(
          out_slowfast_r50[0].shape,
          out_slowfast_r101[0].shape,
          (3, 8, 256, 256),
      )
      self.assertEqual(
          out_slowfast_r50[1].shape,
          out_slowfast_r101[1].shape,
          (3, 32, 256, 256),
      )
  
imports: import numpy
  import unittest
  from towhee.models.utils.video_transforms import transform_video
label_desc: Use image node_id 3 for calling the TestVideoTransforms obj's underlying member method code with example usage: obj.test_models() without return types