code: def _(tensor: torch.Tensor) -> np.ndarray:
      return tensor.cpu().numpy()
  
imports: import numpy
  import torch
  from gluonts.core.component import equals, tensor_to_numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _(tensor) and returns: tensor