code: def model2():
      x_in = Input(shape=(dim1, dim2))
      x = Dense(n_hidden)(x_in)
      x_out = Dense(n_classes, activation="softmax")(x)
      return tf.keras.models.Model(inputs=x_in, outputs=x_out)
  
file_path: alibi-detect/alibi_detect/cd/tensorflow/tests/test_preprocess_tf.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow.keras.layers import Dense, Input, InputLayer
  from alibi_detect.cd.tensorflow import UAE, HiddenOutput
label_desc: Use image node_id 3 for calling a global function with example usage: model2() and returns: tf