code: def test_validate_config_wo_meta(cfg):
      # Check a config w/o a meta dict can be validated
      _ = validate_config(cfg, resolved=True)
  
      # Check the unresolved case
      cfg_unres = cfg.copy()
      cfg_unres["x_ref"] = X_REF_FILENAME
      _ = validate_config(cfg_unres)
  
file_path: alibi-detect/alibi_detect/saving/tests/test_validate.py
imports: import numpy
  import pytest
  from pydantic import ValidationError
  from alibi_detect.saving import validate_config
  from alibi_detect.saving.schemas import KernelConfig
  from alibi_detect.saving.saving import X_REF_FILENAME
  from alibi_detect.version import __version__
  from copy import deepcopy
  import tensorflow
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: test_validate_config_wo_meta(cfg) without return types