code: def _update_if_numeric(metrics, key, values):
      if not _array_has_dtype(values):
          _warn_not_logging(key)
          return
  
      if not is_numeric_array(values):
          _warn_not_logging_non_numeric(key)
          return
  
      metrics[key] = wandb.Histogram(values)
  
imports: import logging
  import operator
  import os
  import shutil
  import sys
  from itertools import chain
  import numpy
  import tensorflow
  import tensorflow.keras.backend
  import wandb
  from wandb.sdk.integration_utils.data_logging import ValidationDataLogger
  from wandb.sdk.lib.deprecate import Deprecated, deprecate
  from wandb.util import add_import_hook
label_desc: Use image node_id 7 for calling a global function with example usage: _update_if_numeric(metrics, key, values) without return types