class_docstr: Sequence layer stacking the current and previous inputs; can only be used as preprocessing
  layer (specification key: `sequence`).
  
  Args:
      length (int > 0): Number of inputs to concatenate
          (<span style="color:#C00000"><b>required</b></span>).
      axis (int >= 0): Concatenation axis, excluding batch axis
          (<span style="color:#00C000"><b>default</b></span>: last axis).
      concatenate (bool): Whether to concatenate inputs at given axis, otherwise introduce new
          sequence axis
          (<span style="color:#00C000"><b>default</b></span>: true).
      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>.
class_docstr_tok: ["Sequence","layer","stacking","the","current","and","previous","inputs",";","can","only","be","used","as","preprocessing","layer","(","specification","key",":","`","sequence","`",")",".","Args",":","length","(","int",">","0",")",":","Number","of","inputs","to","concatenate","(","<","span","style=","''","color",":","#","C00000","''",">","<","b",">","required","<","\/b",">","<","\/span",">",")",".","axis","(","int",">","=","0",")",":","Concatenation","axis",",","excluding","batch","axis","(","<","span","style=","''","color",":","#","00C000","''",">","<","b",">","default","<","\/b",">","<","\/span",">",":","last","axis",")",".","concatenate","(","bool",")",":","Whether","to","concatenate","inputs","at","given","axis",",","otherwise","introduce","new","sequence","axis","(","<","span","style=","''","color",":","#","00C000","''",">","<","b",">","default","<","\/b",">","<","\/span",">",":","true",")",".","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",">","."]
code: def __init__(
      self,
      *,
      length,
      axis=-1,
      concatenate=True,
      name=None,
      input_spec=None,
  ):
      assert length > 1
      self.length = length
      self.axis = axis
      self.concatenate = concatenate
  
      super().__init__(name=name, input_spec=input_spec)
  
      self.architecture_kwargs["length"] = str(length)
      self.architecture_kwargs["axis"] = str(axis)
      self.architecture_kwargs["concatenate"] = str(concatenate)
  
imports: import tensorflow
  from tensorforce.core import parameter_modules, SignatureDict, TensorSpec, tf_function, tf_util
  from tensorforce.core.layers import Layer
label_desc: Use image node_id 1 to create a new Sequence object from inherited base classes: PreprocessingLayer with example: obj = Sequence()