class_docstr: RoBERTa encoder.
class_docstr_tok: ["RoBERTa","encoder","."]
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.args.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.models.transformer import DEFAULT_MIN_PARAMS_TO_WRAP, TransformerEncoder
  from fairseq.modules import LayerNorm
  from fairseq.modules.quant_noise import quant_noise
  from fairseq.modules.transformer_sentence_encoder import init_bert_params
  from fairseq.utils import safe_getattr, safe_hasattr
  from .hub_interface import RobertaHubInterface
label_desc: Use image node_id 8 for calling the RobertaEncoder obj's underlying member method code with example usage: obj.max_positions() and returns: self