code: def test_sparsemax_of_zero(dtype):
      """check sparsemax proposition 1, part 1."""
      z = np.zeros((1, 10))
  
      tf_sparsemax_out = sparsemax(z.astype(dtype))
      np_sparsemax = np.ones_like(z, dtype=dtype) / z.size
  
      test_utils.assert_allclose_according_to_type(
          np_sparsemax, tf_sparsemax_out
      )
  
file_path: addons/tensorflow_addons/activations/tests/sparsemax_test.py
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.activations import sparsemax
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 8 for calling a global function with example usage: test_sparsemax_of_zero(dtype) without return types