docstr: See base class.
docstr_tok: ["See","base","class","."]
code: def common_asserts_for_test_data(self, data):
      """See base class."""
      encoded_x = data.encoded_x[
          clipping.ClipByNormEncodingStage.ENCODED_VALUES_KEY
      ]
      # The encoding should not change the shape...
      self.assertAllEqual(data.x.shape, encoded_x.shape)
      # The decoding should be identity.
      self.assertAllEqual(encoded_x, 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 clipping
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.testing import test_utils
label_desc: Use image node_id 4 for calling the ClipByNormEncodingStageTest obj's underlying member method code with example usage: obj.common_asserts_for_test_data(data) without return types