docstr: Tests that this acts as identity for an adaptive encoding stage.
docstr_tok: ["Tests","that","this","acts","as","identity","for","an","adaptive","encoding","stage","."]
code: def test_as_adaptive_encoding_stage_identity(self):
      """Tests that this acts as identity for an adaptive encoding stage."""
      adaptive_stage = encoding_stage.NoneStateAdaptiveEncodingStage(
          test_utils.PlusOneEncodingStage()
      )
      wrapped_stage = encoding_stage.as_adaptive_encoding_stage(
          adaptive_stage
      )
      self.assertIs(adaptive_stage, wrapped_stage)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import mock
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.core import encoding_stage
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.testing import test_utils
label_desc: Use image node_id 2 for calling the NoneStateAdaptiveEncodingStageTest obj's underlying member method code with example usage: obj.test_as_adaptive_encoding_stage_identity() without return types