code: def custom_weights(y):  # pragma: no cover
      """ """
      return np.ones(len(y))
  
imports: import os
  import re
  import joblib
  import pytest
  import inspect
  import warnings
  import numpy
  import pandas
  import skforecast
  from skforecast.ForecasterAutoreg import ForecasterAutoreg
  from skforecast.ForecasterAutoregMultiSeriesCustom import ForecasterAutoregMultiSeriesCustom
  from skforecast.utils import save_forecaster
  from skforecast.utils import load_forecaster
  from skforecast.exceptions import SkforecastVersionWarning
  from sklearn.linear_model import LinearRegression
label_desc: Use image node_id 2 for calling a global function with example usage: custom_weights(y) and returns: np