code: def equals_tensor(this: torch.Tensor, that: torch.Tensor) -> bool:
      return torch.allclose(this, that)
  
imports: import numpy
  import torch
  from gluonts.core.component import equals, tensor_to_numpy
label_desc: Use image node_id 1 for calling a global function with example usage: equals_tensor(this, that) and returns: torch