code: def test_transform_bounds_inplace(
      fmodel_and_data: ModelAndData, bounds: fbn.types.BoundsInput
  ) -> None:
      fmodel, x, y = fmodel_and_data
      fmodel = copy.copy(
          fmodel
      )  # to avoid interference with other tests
  
      if not isinstance(fmodel, fbn.models.base.ModelWithPreprocessing):
          pytest.skip()
          assert False
      logits1 = fmodel(x)
      min1, max1 = fmodel.bounds
  
      fmodel.transform_bounds(bounds, inplace=True)
      min2, max2 = fmodel.bounds
      x2 = (x - min1) / (max1 - min1) * (max2 - min2) + min2
      logits2 = fmodel(x2)
  
      np.testing.assert_allclose(
          logits1.numpy(), logits2.numpy(), rtol=1e-4, atol=1e-4
      )
  
file_path: foolbox/tests/test_models.py
imports: from typing import Tuple, Any
  import pytest
  import eagerpy
  import numpy
  import copy
  import foolbox
label_desc: Use image node_id 8 for calling a global function with example usage: test_transform_bounds_inplace(fmodel_and_data, bounds) without return types