code: def __init__(
      self,
      model: Any,
      bounds: BoundsInput,
      device: Any = None,
      preprocessing: Preprocessing = None,
  ):
      import tensorflow as tf
  
      if not tf.executing_eagerly():
          raise ValueError(
              "TensorFlowModel requires TensorFlow Eager Mode"
          )  # pragma: no cover
  
      device = get_device(device)
      with device:
          dummy = ep.tensorflow.zeros(0)
      super().__init__(
          model, bounds, dummy, preprocessing=preprocessing
      )
  
      self.device = device
  
file_path: foolbox/foolbox/models/tensorflow.py
imports: from typing import cast, Any
  import eagerpy
  from ..types import BoundsInput, Preprocessing
  from .base import ModelWithPreprocessing
label_desc: Use image node_id 1 to create a new TensorFlowModel object from inherited base classes: ModelWithPreprocessing with example: obj = TensorFlowModel(model, bounds, device, preprocessing)