code: def _assert_tensor_equal(self, x, y):
      # If the assertion fails then only an "assertion is not True" error is
      # shown without showing the contents of x and y. To help debugging, x
      # and y are printed. Note that the output is only shown if the assertion
      # fails.
      print(x)
      print(y)
      self.assertTrue(torch.equal(x, y))
  
imports: import copy
  import unittest
  import torch
  import torch.nn
  from lightly.models import utils
  from lightly.models.utils import _no_grad_trunc_normal, activate_requires_grad, batch_shuffle, batch_unshuffle, deactivate_requires_grad, nearest_neighbors, normalize_weight, update_momentum
label_desc: Use image node_id 1 for calling the TestModelUtils obj's underlying member method code with example usage: obj._assert_tensor_equal(x, y) without return types