code: def test_all_zero_input_works(self):
      # Tests that encoding does not blow up with all-zero input. With all-zero
      # input, both of the encoded values will be empty arrays.
      stage = misc.SplitBySmallValueEncodingStage()
      test_data = self.run_one_to_many_encode_decode(
          stage, lambda: tf.zeros([50])
      )
  
      self.assertAllEqual(
          np.zeros((50)).astype(np.float32), test_data.decoded_x
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.stages.research import misc
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.testing import test_utils
label_desc: Use image node_id 7 for calling the SplitBySmallValueEncodingStageTest obj's underlying member method code with example usage: obj.test_all_zero_input_works() without return types