code: def __init__(self, name, inputs_spec, outputs=None):
      super().__init__(
          name=name, inputs_spec=inputs_spec, outputs=outputs
      )
  
      self.layer1 = self.submodule(
          name="dense0", module=dict(type="dense", size=8)
      )
      self.layer2 = self.submodule(
          name="dense1", module=dict(type="dense", size=8)
      )
  
file_path: tensorforce/test/test_specifications.py
imports: import unittest
  from tensorforce.core import tf_function
  from tensorforce.core.memories import Replay
  from tensorforce.core.networks import LayerbasedNetwork
  from test.unittest_base import UnittestBase
label_desc: Use image node_id 1 to create a new TestNetwork object from inherited base classes: LayerbasedNetwork with example: obj = TestNetwork(name, inputs_spec, outputs)