code: def test_num_clips(
      self,
      duration_sec: float,
      fps: int,
      stride_frames: int,
      window_size_frames: int,
      backpad_last: bool,
      expected: int,
  ):
      self.assertEqual(
          _num_clips(
              duration_sec,
              fps,
              stride_frames,
              window_size_frames,
              backpad_last,
          ),
          expected,
      )
  
file_path: pytorchvideo/tests/test_uniform_clip_sampler.py
imports: import copy
  import unittest
  from typing import Optional
  import numpy
  from parameterized import parameterized
  from pytorchvideo.data.clip_sampling import UniformClipSampler
label_desc: Use image node_id 2 for calling the TestUniformClipSampler obj's underlying member method code with example usage: obj.test_num_clips(duration_sec, fps, stride_frames, window_size_frames, backpad_last, expected) without return types