code: def test_encoded_values_as_expected(
      self, bits, expected_bitpacked_values
  ):
      # Tests that the packed values are as expected.
      stage = stages_impl.BitpackingEncodingStage(bits)
      test_data = self.run_one_to_many_encode_decode(
          stage,
          lambda: tf.constant(
              [1.0, 0.0, 1.0, 1.0, 0.0], dtype=tf.float32
          ),
      )
      self.assertAllEqual(
          expected_bitpacked_values,
          test_data.encoded_x[
              stages_impl.BitpackingEncodingStage.ENCODED_VALUES_KEY
          ],
      )
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.stages import stages_impl
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.testing import test_utils
label_desc: Use image node_id 6 for calling the BitpackingEncodingStageTest obj's underlying member method code with example usage: obj.test_encoded_values_as_expected(bits, expected_bitpacked_values) without return types