code: def test_tensors(self):
      vshared = objax.TrainVar(jn.ones(1))
      vc = objax.VarCollection(
          [("a", objax.TrainVar(jn.zeros(1))), ("b", vshared)]
      )
      vc += objax.VarCollection([("c", vshared)])
      self.assertEqual(len(vc.tensors()), 2)
      self.assertEqual([x.sum() for x in vc.tensors()], [0, 1])
  
file_path: objax/tests/var_collection.py
imports: import re
  import unittest
  import jax.numpy
  import objax
  from objax.zoo import wide_resnet
label_desc: Use image node_id 7 for calling the TestVarCollection obj's underlying member method code with example usage: obj.test_tensors() without return types