code: def output_signature(self, *, function):
      if function == "act":
          return SignatureDict(
              actions=self.actions_spec.signature(batched=True),
              timesteps=TensorSpec(type="int", shape=()).signature(
                  batched=False
              ),
          )
  
      if function == "core_act":
          return SignatureDict(
              actions=self.actions_spec.signature(batched=True),
              internals=self.internals_spec.signature(batched=True),
          )
  
      elif function == "core_observe":
          return SignatureDict(
              singleton=TensorSpec(type="bool", shape=()).signature(
                  batched=False
              )
          )
  
      elif function == "independent_act":
          if len(self.internals_spec) > 0:
              return SignatureDict(
                  actions=self.actions_spec.signature(batched=True),
                  internals=self.internals_spec.signature(batched=True),
              )
          else:
              return SignatureDict(
                  singleton=self.actions_spec.signature(batched=True)
              )
  
      elif function == "observe":
          return SignatureDict(
              updated=TensorSpec(type="bool", shape=()).signature(
                  batched=False
              ),
              episodes=TensorSpec(type="int", shape=()).signature(
                  batched=False
              ),
              updates=TensorSpec(type="int", shape=()).signature(
                  batched=False
              ),
          )
  
      elif function == "reset":
          return SignatureDict(
              timesteps=TensorSpec(type="int", shape=()).signature(
                  batched=False
              ),
              episodes=TensorSpec(type="int", shape=()).signature(
                  batched=False
              ),
              updates=TensorSpec(type="int", shape=()).signature(
                  batched=False
              ),
          )
  
      else:
          return super().output_signature(function=function)
  
imports: from collections import OrderedDict
  import logging
  import os
  import time
  import h5py
  import numpy
  import tensorflow
  from tensorforce import TensorforceError
  from tensorforce.core import ArrayDict, Module, SignatureDict, TensorDict, TensorSpec, TensorsSpec, tf_function, tf_util, VariableDict
  from tensorforce.core.layers import Layer
label_desc: Use image node_id 14 for calling the Model obj's underlying member method code with example usage: obj.output_signature() and returns: SignatureDict, SignatureDict, SignatureDict, SignatureDict, SignatureDict, SignatureDict, SignatureDict, super