code: def get_data_and_model():
      x = np.random.random((12, 1))
      y = np.random.randint(0, 2, (12, 1), dtype=np.int32)
  
      inputs = tf.keras.layers.Input(shape=(1,))
      outputs = tf.keras.layers.Dense(1)(inputs)
      model = tf.keras.models.Model(inputs=inputs, outputs=outputs)
  
      model.compile(optimizer="sgd", loss="mse", metrics=["acc"])
      return x, y, model
  
file_path: addons/tensorflow_addons/callbacks/tests/tqdm_progress_bar_test.py
imports: import re
  import numpy
  import pytest
  import tensorflow
  import tensorflow_addons
label_desc: Use image node_id 1 for calling a global function with example usage: get_data_and_model() and returns: x,  y,  model