code: def test_sparse_sample_with_rectify():
      run_sparse_sample(
          iterations=200,
          expected=[[0.7836679, 2.0], [3.0, 3.7839665]],
          optimizer=AdaBelief(lr=1e-3, rectify=True),
      )
  
imports: import numpy
  import pytest
  from packaging.version import Version
  import tensorflow.compat.v2
  from tensorflow_addons.optimizers import AdaBelief, Lookahead
label_desc: Use image node_id 12 for calling a global function with example usage: test_sparse_sample_with_rectify() without return types