code: def test_data_multiclass(request):
      return [
          # Multiclass input data of shape (N, ) and (N, C)
          (
              torch.rand(10, 4),
              torch.randint(0, 4, size=(10,)).long(),
              1,
          ),
          (
              torch.rand(10, 10, 1),
              torch.randint(0, 18, size=(10, 1)).long(),
              1,
          ),
          (
              torch.rand(10, 18),
              torch.randint(0, 18, size=(10,)).long(),
              1,
          ),
          (
              torch.rand(4, 10),
              torch.randint(0, 10, size=(4,)).long(),
              1,
          ),
          # 2-classes
          (torch.rand(4, 2), torch.randint(0, 2, size=(4,)).long(), 1),
          (
              torch.rand(100, 5),
              torch.randint(0, 5, size=(100,)).long(),
              16,
          ),
          # Multiclass input data of shape (N, L) and (N, C, L)
          (
              torch.rand(10, 4, 5),
              torch.randint(0, 4, size=(10, 5)).long(),
              1,
          ),
          (
              torch.rand(4, 10, 5),
              torch.randint(0, 10, size=(4, 5)).long(),
              1,
          ),
          (
              torch.rand(100, 9, 7),
              torch.randint(0, 9, size=(100, 7)).long(),
              16,
          ),
          # Multiclass input data of shape (N, H, W, ...) and (N, C, H, W, ...)
          (
              torch.rand(4, 5, 12, 10),
              torch.randint(0, 5, size=(4, 12, 10)).long(),
              1,
          ),
          (
              torch.rand(100, 3, 8, 8),
              torch.randint(0, 3, size=(100, 8, 8)).long(),
              16,
          ),
      ][request.param]
  
imports: import os
  import pytest
  import torch
  from packaging.version import Version
  from sklearn.metrics import accuracy_score
  import ignite.distributed
  from ignite.engine import Engine
  from ignite.exceptions import NotComputableError
  from ignite.metrics import Accuracy
label_desc: Use image node_id 8 for calling a global function with example usage: test_data_multiclass(request) and returns: list