code: def test_photonics_bounding_methods(
      pb: str, expected: tp.List[float]
  ) -> None:
      func = core.Photonics(pb, 8, bounding_method="tanh")
      np.random.seed(24)
      x = np.random.normal(0, 1, size=8)
      output = (
          func.parametrization.spawn_child()
          .set_standardized_data(x)
          .value.ravel()
      )
      np.testing.assert_almost_equal(output, expected, decimal=2)
  
imports: import os
  from unittest import SkipTest
  import warnings
  import typing
  import pytest
  import numpy
  from nevergrad.common import testing
  from .None import core
  from .None import photonics
label_desc: Use image node_id 1 for calling a global function with example usage: test_photonics_bounding_methods(pb, expected) without return types