docstr: Fit the normalizer to the scores.
  
  Parameters
  ----------
  x
      `Torch.Tensor` of scores from ensemble of detectors.
docstr_tok: ["Fit","the","normalizer","to","the","scores",".","Parameters","--","--","--","--","--","x","`","Torch.Tensor","`","of","scores","from","ensemble","of","detectors","."]
code: def fit(self, x: torch.Tensor) -> Self:
      """Fit the normalizer to the scores.
  
      Parameters
      ----------
      x
          `Torch.Tensor` of scores from ensemble of detectors.
      """
      if self.normalizer is not None:
          self.normalizer.fit(x)  # type: ignore
      return self._set_fitted()
  
imports: from abc import ABC, abstractmethod
  from typing import Optional
  from typing_extensions import Self
  import torch
  import numpy
  from torch.nn import Module
  from alibi_detect.exceptions import NotFittedError
label_desc: Use image node_id 3 for calling the Ensembler obj's underlying member method code with example usage: obj.fit(x) and returns: self