class_docstr: Autoformer encoder.
class_docstr_tok: ["Autoformer","encoder","."]
code: def __init__(self, attn_layers, conv_layers=None, norm_layer=None):
      self.attn_layers = attn_layers
      self.conv_layers = conv_layers
      self.norm_layer = norm_layer
  
imports: from sktime.utils.validation._dependencies import _check_soft_dependencies
  import math
label_desc: Use image node_id 1 to create a new Encoder object  with example: obj = Encoder(attn_layers, conv_layers, norm_layer)