code: def test_tensors(self):
      m = self.simple_model
  
      # model has one root tensor ...
      self.assertEqual(len(m.roots), 1)
  
      # ... which is named "output" and can be retrieved via get
      outp = m.get("output")
      self.assertIn(outp, m.roots.values())
  
      # the input tensor is named "input"
      self.assertIsNotNone(m.get("input"))
  
file_path: tfdeploy/tests/core.py
imports: import numpy
  from .base import TestCase, td
label_desc: Use image node_id 2 for calling the CoreTestCase obj's underlying member method code with example usage: obj.test_tensors() without return types