code: def zip_datasets(data_dir: Path):
      datasets = [d for d in data_dir.iterdir() if d.is_dir()]
      for dataset in datasets:
          dataset_name = dataset.name
          print(f"Creating archive for {dataset}...")
          shutil.make_archive(
              str(data_dir / dataset_name),
              "zip",
              data_dir,
              dataset_name,
          )
  
file_path: nni/test/vso_tools/pack_testdata.py
imports: import argparse
  import glob
  import os
  import random
  import shutil
  import subprocess
  import warnings
  from collections import defaultdict
  from pathlib import Path
  from torchvision.datasets import CIFAR10, MNIST, ImageNet
label_desc: Use image node_id 4 for calling a global function with example usage: zip_datasets(data_dir) without return types