class_docstr: AutoCorrelation layer.
  
  AutoCorrelation Mechanism with the following two phases:
  (1) period-based dependencies discovery
  (2) time delay aggregation
  This block can replace the self-attention family mechanism seamlessly.
class_docstr_tok: ["AutoCorrelation","layer",".","AutoCorrelation","Mechanism","with","the","following","two","phases",":","(","1",")","period-based","dependencies","discovery","(","2",")","time","delay","aggregation","This","block","can","replace","the","self-attention","family","mechanism","seamlessly","."]
code: def _build(self):
      return self._AutoCorrelation(
          self.mask_flag,
          self.factor,
          self.scale,
          self.attention_dropout,
          self.output_attention,
      )
  
imports: from sktime.utils.validation._dependencies import _check_soft_dependencies
  import math
label_desc: Use image node_id 2 for calling the AutoCorrelation obj's underlying member method code with example usage: obj._build() and returns: self