docstr: Maximum input length supported by the encoder.
docstr_tok: ["Maximum","input","length","supported","by","the","encoder","."]
code: def max_positions(self):
      """Maximum input length supported by the encoder."""
      return self.args.max_source_positions
  
imports: import torch
  import torch.nn
  from fairseq import utils
  from fairseq.models import FairseqEncoder, FairseqEncoderDecoderModel, FairseqIncrementalDecoder, register_model, register_model_architecture
  from fairseq.models.fairseq_encoder import EncoderOut
  from fairseq.modules import LayerNorm
  from lightseq.training.ops.pytorch.layer_base import TransformerEmbeddingLayerBase
  from lightseq.training.ops.pytorch.quantization import QuantLinear, disable_quant, enable_quant, ptq_mode, qat_mode
label_desc: Use image node_id 5 for calling the LSTransformerEncoder obj's underlying member method code with example usage: obj.max_positions() and returns: self