code: def illegal_func(data):
      import torch
  
      x, y = zip(*data)
      x = torch.stack(x, dim=0)
      y = torch.stack(y, dim=0).numpy()
      return x, y
  
imports: from unittest import TestCase
  import operator
  import pytest
  import torch
  from torch.utils.data import TensorDataset, DataLoader, Dataset
  from torch import nn
  import torchmetrics
  from bigdl.nano.pytorch import Trainer
  from bigdl.nano.utils.common import compare_version
label_desc: Use image node_id 1 for calling a global function with example usage: illegal_func(data) and returns: x,  y