code: def test_log_image_numpy_dtype(dtype):
      import numpy as np
  
      filename = "image.png"
      image = np.random.randint(0, 2, size=(100, 100, 3)).astype(
          np.dtype(dtype)
      )
  
      with mlflow.start_run():
          mlflow.log_image(image, filename)
          artifact_uri = mlflow.get_artifact_uri()
          run_artifact_dir = local_file_uri_to_path(artifact_uri)
          assert os.listdir(run_artifact_dir) == [filename]
  
file_path: mlflow/tests/tracking/test_log_image.py
imports: import os
  import posixpath
  from unittest import mock
  import pytest
  import mlflow
  from mlflow.utils.file_utils import local_file_uri_to_path
label_desc: Use image node_id 4 for calling a global function with example usage: test_log_image_numpy_dtype(dtype) without return types