code: def test_model_mixed_precision():
      x = np.random.standard_normal((10000, 3))
      w = np.random.standard_normal((3, 1))
      y = np.dot(x, w) + np.random.standard_normal((10000, 1)) * 1e-4
      model = tf.keras.Sequential()
      model.add(tf.keras.layers.Dense(input_shape=(3,), units=1))
      model.compile(MovingAverage("sgd"), loss="mse")
      model.fit(x, y, epochs=3)
  
imports: import numpy
  import pytest
  import tensorflow
  from packaging.version import Version
  from tensorflow_addons.optimizers import MovingAverage
label_desc: Use image node_id 15 for calling a global function with example usage: test_model_mixed_precision() without return types