code: def model_filepath():
      with tempfile.TemporaryDirectory() as temp_dir:
          fpath = os.path.join(temp_dir, "test_loss_plugin.ivis")
          yield fpath
  
file_path: ivis/tests/nn/test_losses.py
imports: import tempfile
  import os
  import pytest
  from sklearn import datasets
  from tensorflow.keras import backend
  import tensorflow
  from ivis.nn import losses
  from ivis.nn.distances import euclidean_distance
  from ivis import Ivis
label_desc: Use image node_id 1 for calling a global function with example usage: model_filepath() without return types