code: def _tf_style_initial_state(initial_state_fn):
      """Method decorator for `tf_style_adaptive_encoding_stage`."""
  
      def actual_initial_state_fn(self, name=None):
          """Modified `initial_state` method."""
          with tf.compat.v1.name_scope(
              name, self.name + INITIAL_STATE_SCOPE_SUFFIX
          ):
              return initial_state_fn(self, name=name)
  
      return actual_initial_state_fn
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import enum
  import six
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: _tf_style_initial_state(initial_state_fn) and returns: actual_initial_state_fn, initial_state_fn