class_docstr: Base class for networks using Tensorforce layers.
code: def internals_init(self):
      internals_init = super().internals_init()
  
      def fn(layer):
          internals_init[layer.name] = layer.internals_init()
  
      for layer in self.this_submodules:
          LayerbasedNetwork._recursive_temporal_layers(
              layer=layer, fn=fn
          )
  
      return internals_init
  
imports: from collections import Counter
  import tensorflow
  from tensorforce import TensorforceError
  from tensorforce.core import ArrayDict, Module, SignatureDict, TensorDict, TensorSpec, TensorsSpec, tf_function, tf_util
  from tensorforce.core.layers import Block, Layer, layer_modules, MultiInputLayer, NondeterministicLayer, PreprocessingLayer, Register, Reuse, StatefulLayer, TemporalLayer
  from tensorforce.core.parameters import Parameter
label_desc: Use image node_id 6 for calling the LayerbasedNetwork obj's underlying member method code with example usage: obj.internals_init() and returns: internals_init