code: def get_samples(root, extensions=(".mp4", ".avi")):
      _, class_to_idx = _find_classes(root)
      return make_dataset(root, class_to_idx, extensions=extensions)
  
imports: import torch
  import torchvision
  from torchvision.datasets.utils import download_url
  import itertools
  import os
  from torchvision.datasets.utils import download_url
  import os
  import random
  from torchvision.datasets.folder import make_dataset
  from torchvision import transforms
  from torch.utils.data import DataLoader
  import matplotlib.pyplot
  import os
  import shutil
label_desc: Use image node_id 3 for calling a global function with example usage: get_samples(root, extensions) and returns: make_dataset