code: def _create_temp_folder():
      temp_folder = tempfile.mkdtemp(prefix="nni_distil_")
      info_msg = f"Created temp directory {temp_folder}"
      _logger.info(info_msg)
      return temp_folder
  
imports: from __future__ import annotations
  import logging
  import os
  from os import PathLike
  from pathlib import Path
  import shutil
  import tempfile
  from typing import Any, Dict, List, Literal
  import json_tricks
  from .utils import pickle_dump, pickle_load
label_desc: Use image node_id 2 for calling a global function with example usage: _create_temp_folder() and returns: temp_folder