code: def test_erfinv() -> None:
      pytest.importorskip("scipy")
      from scipy.special import erfinv as scipy_erfinv
  
      x = np.linspace(-1.0 + 1.0e-4, 1 - 1.0e-4, 11)
      y_scipy = scipy_erfinv(x)
  
      # Text np
      y_np = erfinv(x)
      assert np.allclose(y_np, y_scipy, rtol=1e-3)
  
imports: from typing import Tuple, List
  import numpy
  import pandas
  from pandas.tseries.frequencies import to_offset
  import pytest
  import gluonts
  from gluonts import time_feature, transform
  from gluonts.core import fqname_for
  from gluonts.core.serde import dump_json, load_json
  from gluonts.dataset.common import DataEntry, ListDataset
  from gluonts.dataset.field_names import FieldName
  from gluonts.dataset.stat import ScaleHistogram, calculate_dataset_statistics
  from gluonts.transform import CausalMeanValueImputation, DummyValueImputation, LastValueImputation, MeanValueImputation, RollingMeanValueImputation, Valmap
  from gluonts.transform.convert import ToIntervalSizeFormat, erf, erfinv
  from gluonts.transform.feature import CountTrailingZeros
label_desc: Use image node_id 31 for calling a global function with example usage: test_erfinv() without return types