parameters: (self, stage, children)
docstring: Constructor of the `Encoder`.
  
      If `stage` is an `EncodingStageInterface`, the constructor will wrap it as
      an `AdaptiveEncodingStageInterface` with no state.
  
      Args:
        stage: An `EncodingStageInterface` or an `AdaptiveEncodingStageInterface`.
        children: A dictionary mapping a subset of
          `stage.compressible_tensors_keys` to instances of `Encoder` objects,
          which are to be used to further encode the corresponding encoded tensors
          of `stage`.
docstring_summary: Constructor of the `Encoder`.
docstring_tokens: Constructor of the Encoder .
function: def __init__(self, stage, children):
      """Constructor of the `Encoder`.
  
      If `stage` is an `EncodingStageInterface`, the constructor will wrap it as
      an `AdaptiveEncodingStageInterface` with no state.
  
      Args:
        stage: An `EncodingStageInterface` or an `AdaptiveEncodingStageInterface`.
        children: A dictionary mapping a subset of
          `stage.compressible_tensors_keys` to instances of `Encoder` objects,
          which are to be used to further encode the corresponding encoded tensors
          of `stage`.
      """
      stage = encoding_stage.as_adaptive_encoding_stage(stage)
      self.stage = stage
      self.children = children
      self._commuting_structure = None
      super(Encoder, self).__init__()
function_tokens: def __init__ ( self , stage , children ) : stage = encoding_stage . as_adaptive_encoding_stage ( stage ) self . stage = stage self . children = children self . _commuting_structure = None super ( Encoder , self ) . __init__ ( )