class_docstr: Encoder Layer.
  
  Autoformer encoder layer with the progressive decomposition architecture
class_docstr_tok: ["Encoder","Layer",".","Autoformer","encoder","layer","with","the","progressive","decomposition","architecture"]
code: def __init__(
      self,
      attention,
      d_model,
      d_ff=None,
      moving_avg=25,
      dropout=0.1,
      activation="relu",
  ):
      self.attention = attention
      self.d_model = d_model
      self.d_ff = d_ff
      self.moving_avg = moving_avg
      self.dropout = dropout
      self.activation = activation
  
imports: from sktime.utils.validation._dependencies import _check_soft_dependencies
  import math
label_desc: Use image node_id 1 to create a new EncoderLayer object  with example: obj = EncoderLayer(attention, d_model, d_ff, moving_avg, dropout, activation)