code: def test_forward_pass(self):
      loss = NegativeCosineSimilarity()
      for bsz in range(1, 20):
          x0 = torch.randn((bsz, 32))
          x1 = torch.randn((bsz, 32))
  
          # symmetry
          l1 = loss(x0, x1)
          l2 = loss(x1, x0)
          self.assertAlmostEqual((l1 - l2).pow(2).item(), 0.0)
  
imports: import unittest
  import torch
  from lightly.loss import NegativeCosineSimilarity
label_desc: Use image node_id 1 for calling the TestNegativeCosineSimilarity obj's underlying member method code with example usage: obj.test_forward_pass() without return types