code: def equal(x, y):
      return torch.all(torch.lt(torch.abs(torch.add(x, -y)), 1e-12))
  
imports: import pytest
  import torch
  import torch.nn
  from torch.autograd import Variable
  import pretrainedmodels
  import pretrainedmodels.utils
label_desc: Use image node_id 1 for calling a global function with example usage: equal(x, y) and returns: torch