code: def test_mixup_image_data(
      art_warning, image_batch, alpha, probability
  ):
      try:
          mixup = CutMixTensorFlowV2(
              num_classes=10, alpha=alpha, probability=probability
          )
          x, y = mixup(image_batch, np.arange(len(image_batch)))
          assert_array_almost_equal(x, image_batch)
          assert_array_almost_equal(
              y.sum(axis=1), np.ones(len(image_batch))
          )
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/defences/preprocessor/cutmix/test_cutmix_tensorflow.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import numpy
  import pytest
  from numpy.testing import assert_array_equal, assert_array_almost_equal
  from art.config import ART_NUMPY_DTYPE
  from art.defences.preprocessor import CutMixTensorFlowV2
  from tests.utils import ARTTestException
label_desc: Use image node_id 3 for calling a global function with example usage: test_mixup_image_data(art_warning, image_batch, alpha, probability) without return types