code: def th_allclose(x, y):
      """
      Determine whether two torch tensors have same values
      Mimics np.allclose
      """
      return th.sum(th.abs(x - y)) < 1e-5
  
imports: import pickle
  import random
  from .optimizers import *
  from .callbacks import *
  import torch
  from pywick.callbacks import *
label_desc: Use image node_id 1 for calling a global function with example usage: th_allclose(x, y) and returns: unknown