code: def test_data_logger_val_data_dicts(wandb_init):
      run = wandb_init()
      vd = ValidationDataLogger(
          inputs={
              "ia": np.array([[i, i, i] for i in range(10)]),
              "ib": np.array([[i, i, i] for i in range(10)]),
          },
          targets={
              "ta": np.array([[i] for i in range(10)]),
              "tb": np.array([[i] for i in range(10)]),
          },
          indexes=None,
          validation_row_processor=None,
          prediction_row_processor=None,
          class_labels=None,
          infer_missing_processors=False,
      )
  
      cols = ["ia", "ib", "ta", "tb"]
      tcols = vd.validation_indexes[0]._table.columns
      assert set(tcols) == set(cols)
      assert np.all(
          [
              vd.validation_indexes[0]
              ._table.data[i][tcols.index("ia")]
              .tolist()
              == [i, i, i]
              and vd.validation_indexes[0]
              ._table.data[i][tcols.index("ib")]
              .tolist()
              == [i, i, i]
              and vd.validation_indexes[0]
              ._table.data[i][tcols.index("ta")]
              .tolist()
              == [i]
              and vd.validation_indexes[0]
              ._table.data[i][tcols.index("tb")]
              .tolist()
              == [i]
              for i in range(10)
          ]
      )
      assert (
          vd.validation_indexes[0]._table._get_artifact_entry_ref_url()
          is not None
      )
      run.finish()
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_validation_data_logger.py
imports: import numpy
  import pytest
  import wandb
  import wandb.data_types
  from wandb.sdk.integration_utils.data_logging import CAN_INFER_IMAGE_AND_VIDEO, ValidationDataLogger
label_desc: Use image node_id 2 for calling a global function with example usage: test_data_logger_val_data_dicts(wandb_init) without return types