code: def video_input_pipeline(
      input_name,
      sequence_length,
      last_sequence_policy="partial",
      device="cpu",
  ):
      vid = fn.experimental.inputs.video(
          name=input_name,
          device=device,
          blocking=False,
          sequence_length=sequence_length,
          last_sequence_policy=last_sequence_policy,
      )
      return vid
  
file_path: DALI/dali/test/python/input/test_video.py
imports: import glob
  import itertools
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.types
  from nose2.tools import params
  from nose_utils import assert_raises
  from nvidia.dali import pipeline_def
  from test_utils import get_dali_extra_path, to_array
label_desc: Use image node_id 3 for calling a global function with example usage: video_input_pipeline(input_name, sequence_length, last_sequence_policy, device) and returns: vid