class_docstr: Series decomposition block
class_docstr_tok: ["Series","decomposition","block"]
code: def __init__(self, kernel_size):
      super().__init__()
      self.moving_avg = _MovingAvg(kernel_size, stride=1)
  
imports: from typing import Optional, Tuple
  import torch
  import torch.nn
  from darts.logging import raise_if
  from darts.models.forecasting.pl_forecasting_module import PLMixedCovariatesModule, io_processor
  from darts.models.forecasting.torch_forecasting_model import MixedCovariatesTorchModel
label_desc: Use image node_id 1 to create a new _SeriesDecomp object from inherited base classes: nn with example: obj = _SeriesDecomp(kernel_size)