class_docstr: Series decomposition block
class_docstr_tok: ["Series","decomposition","block"]
code: def __init__(self, kernel_size):
      super(SeriesDecomp, self).__init__()
      self.MovingAvg = MovingAvg(kernel_size, stride=1)
  
imports: import numpy
  from typing import Optional
  import torch
  import torch.nn
  import torch.nn.functional
  from ..common._modules import DataEmbedding
  from ..common._base_windows import BaseWindows
  from ..losses.pytorch import MAE
label_desc: Use image node_id 1 to create a new SeriesDecomp object from inherited base classes: nn with example: obj = SeriesDecomp(kernel_size)