code: def fs_mkdir(base_dir: Path, dirs: List[Tuple[str, str]]) -> Path:
      sub_dirs = sep.join(["__".join(kv) for kv in dirs])
      dir_ = base_dir / sub_dirs
      dir_.mkdir(parents=True, exist_ok=True)
      return dir_
  
file_path: sklearn-porter/tests/utils/__init__.py
imports: from os import environ, sep
  from pathlib import Path
  from typing import List, Optional, Tuple
  import numpy
  from tests.commons import PORTER_N_UNI_REGRESSION_TESTS, PORTER_N_GEN_REGRESSION_TESTS
label_desc: Use image node_id 1 for calling a global function with example usage: fs_mkdir(base_dir, dirs) and returns: dir_