class_docstr: Encoder for Masked Language Modelling.
class_docstr_tok: ["Encoder","for","Masked","Language","Modelling","."]
docstr: Maximum output length supported by the encoder.
docstr_tok: ["Maximum","output","length","supported","by","the","encoder","."]
code: def max_positions(self):
      """Maximum output length supported by the encoder."""
      return self.max_positions
  
imports: import logging
  import torch
  import torch.nn
  import torch.nn.functional
  from fairseq import utils
  from fairseq.models import FairseqEncoder, FairseqEncoderModel, register_model, register_model_architecture
  from fairseq.modules import LayerNorm, SinusoidalPositionalEmbedding, TransformerSentenceEncoder
  from fairseq.modules.transformer_sentence_encoder import init_bert_params
  from fairseq.utils import safe_hasattr
label_desc: Use image node_id 3 for calling the MaskedLMEncoder obj's underlying member method code with example usage: obj.max_positions() and returns: self