code: def test_target(self):
      mixup = CutMix(0.1, classes=2, mixup_loss=True)
      X = torch.rand(2, 3, 100, 100)
      Y_true = torch.Tensor([0.0, 1.0])
  
      state = {
          torchbearer.X: X,
          torchbearer.Y_TRUE: Y_true,
          torchbearer.DEVICE: "cpu",
      }
  
      mixup.on_sample(state)
  
      self.assertTrue(
          (
              state[torchbearer.Y_TRUE][0] == torch.Tensor([0.0, 1.0])
          ).all()
      )
      self.assertTrue(
          (
              state[torchbearer.Y_TRUE][1] == torch.Tensor([0.0, 1.0])
          ).all()
          or (
              state[torchbearer.Y_TRUE][1] == torch.Tensor([1.0, 0.0])
          ).all()
      )
  
file_path: torchbearer/tests/callbacks/test_cutout.py
imports: from unittest import TestCase
  import torch
  import torchbearer
  from torchbearer.callbacks.cutout import Cutout, RandomErase, CutMix
label_desc: Use image node_id 6 for calling the TestCutOut obj's underlying member method code with example usage: obj.test_target() without return types