docstr: Returns a new model with the desired bounds and updates the preprocessing accordingly
docstr_tok: ["Returns","a","new","model","with","the","desired","bounds","and","updates","the","preprocessing","accordingly"]
code: def transform_bounds(self, bounds: BoundsInput) -> "Model":
      """Returns a new model with the desired bounds and updates the preprocessing accordingly"""
      # subclasses can provide more efficient implementations
      return TransformBoundsWrapper(self, bounds)
  
imports: from typing import TypeVar, Callable, Optional, Tuple, Any
  from abc import ABC, abstractmethod
  import copy
  import eagerpy
  from ..types import Bounds, BoundsInput, Preprocessing
  from ..devutils import atleast_kd
label_desc: Use image node_id 3 for calling the Model obj's underlying member method code with example usage: obj.transform_bounds(bounds) and returns: TransformBoundsWrapper