code: def test_specifications(self):
      # SPECIFICATION.MD
      self.start_tests()
  
      # default
      self.specification_unittest(
          network=dict(
              type="layered", layers=[dict(type="dense", size=8)]
          ),
          memory=dict(type="replay", capacity=100),
      )
  
      # json
      self.specification_unittest(
          network="test/data/network.json",
          memory=dict(type="test/data/memory.json", capacity=100),
      )
  
      # module
      self.specification_unittest(
          network="test.test_specifications",
          memory=dict(
              type="tensorforce.core.memories.Replay", capacity=100
          ),
      )
  
      # callable
      self.specification_unittest(
          network=TestNetwork, memory=dict(type=Replay, capacity=100)
      )
  
      # default (+firstarg)
      self.specification_unittest(
          network=[dict(type="dense", size=8)],
          memory=dict(capacity=100),
      )
  
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 2 for calling the TestSpecifications obj's underlying member method code with example usage: obj.test_specifications() without return types