def __init__(self, ord=None, component_wise: bool = False) -> None:
        """Norm Scorer

        Returns the element-wise norm of a given order between two series' values.

        If `component_wise` is `False`, the norm is computed between vectors
        made of the series' components (one norm per timestamp).

        If `component_wise` is `True`, for any `ord` this effectively amounts to computing the absolute
        value of the difference.

        The scoring function expects two series.

        If the two series are multivariate of width `w`:

        - if `component_wise` is set to `False`: it returns a univariate series (width=1).
        - if `component_wise` is set to `True`: it returns a multivariate series of width `w`.

        If the two series are univariate, it returns a univariate series regardless of the parameter
        `component_wise`.

        Parameters
        ----------
        ord
            Order of the norm. Options are listed under 'Notes' at:
            <https://numpy.org/doc/stable/reference/generated/numpy.linalg.norm.html>.
            Default: `None`
        component_wise
            Whether to compare components of the two series in isolation (`True`), or jointly (`False`).
            Default: `False`
        """
        self.ord = ord
        super().__init__(is_univariate=(not component_wise), window=1)
Norm Scorer

        Returns the element-wise norm of a given order between two series' values.

        If `component_wise` is `False`, the norm is computed between vectors
        made of the series' components (one norm per timestamp).

        If `component_wise` is `True`, for any `ord` this effectively amounts to computing the absolute
        value of the difference.

        The scoring function expects two series.

        If the two series are multivariate of width `w`:

        - if `component_wise` is set to `False`: it returns a univariate series (width=1).
        - if `component_wise` is set to `True`: it returns a multivariate series of width `w`.

        If the two series are univariate, it returns a univariate series regardless of the parameter
        `component_wise`.

        Parameters
        ----------
        ord
            Order of the norm. Options are listed under 'Notes' at:
            <https://numpy.org/doc/stable/reference/generated/numpy.linalg.norm.html>.
            Default: `None`
        component_wise
            Whether to compare components of the two series in isolation (`True`), or jointly (`False`).
            Default: `False`
        
darts/ad/scorers/norm_scorer.py