code: def test_sparse_momentum():
      do_test_sparse(beta1=0.9)
  
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.optimizers import yogi
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 7 for calling a global function with example usage: test_sparse_momentum() without return types