code: def tensorflow_simple_functional(request: Any) -> ModelAndData:
      import tensorflow as tf
  
      channels = 3
      h = w = 224
      data_format = tf.keras.backend.image_data_format()
      shape = (
          (channels, h, w)
          if data_format == "channels_first"
          else (h, w, channels)
      )
      x = x_ = tf.keras.Input(shape=shape)
      x = tf.keras.layers.GlobalAveragePooling2D()(x)
      model = tf.keras.Model(inputs=x_, outputs=x)
      bounds = (0, 1)
      fmodel = fbn.TensorFlowModel(model, bounds=bounds)
  
      x, _ = fbn.samples(fmodel, dataset="imagenet", batchsize=8)
      x = ep.astensor(x)
      y = fmodel(x).argmax(axis=-1)
      return fmodel, x, y
  
imports: from typing import Optional, Callable, Tuple, Dict, Any, List, NamedTuple
  import functools
  import pytest
  import eagerpy
  import foolbox
  import foolbox
label_desc: Use image node_id 18 for calling a global function with example usage: tensorflow_simple_functional(request) and returns: fmodel,  x,  y