class_docstr: Keras layer (specification key: `keras`).
  
  Args:
      layer (string): Keras layer class name, see
          `TensorFlow docs <https://www.tensorflow.org/api_docs/python/tf/keras/layers>`__
          (<span style="color:#C00000"><b>required</b></span>).
      l2_regularization (float >= 0.0): Scalar controlling L2 regularization
          (<span style="color:#00C000"><b>default</b></span>: inherit value of parent module).
      name (string): Layer name
          (<span style="color:#00C000"><b>default</b></span>: internally chosen).
      input_spec (specification): <span style="color:#00C000"><b>internal use</b></span>.
      kwargs: Arguments for the Keras layer, see
          `TensorFlow docs <https://www.tensorflow.org/api_docs/python/tf/keras/layers>`__.
code: def output_spec(self):
      output_spec = super().output_spec()
  
      output_spec.type = "float"
      output_spec.shape = self.keras_layer.compute_output_shape(
          input_shape=((None,) + output_spec.shape)
      )[1:]
  
      return output_spec
  
file_path: tensorforce/tensorforce/core/layers/keras.py
imports: import tensorflow
  from tensorforce.core import tf_function, tf_util
  from tensorforce.core.layers import Layer
label_desc: Use image node_id 2 for calling the KerasLayer obj's underlying member method code with example usage: obj.output_spec() and returns: output_spec