code: def log_dir():
      with tempfile.TemporaryDirectory() as temp_dir:
          yield temp_dir
  
file_path: ivis/tests/nn/test_callbacks.py
imports: import os
  import tempfile
  import pytest
  import numpy
  from sklearn import datasets
  from ivis.nn.callbacks import ModelCheckpoint, EmbeddingsLogging, EmbeddingsImage, TensorBoardEmbeddingsImage
  from ivis import Ivis
label_desc: Use image node_id 1 for calling a global function with example usage: log_dir() without return types