class_docstr: LSTM encoder.
class_docstr_tok: ["LSTM","encoder","."]
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 int(1e5)
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from fairseq import options, utils
  from fairseq.models import FairseqEncoder, FairseqIncrementalDecoder, FairseqEncoderDecoderModel, register_model, register_model_architecture
label_desc: Use image node_id 4 for calling the LSTMEncoder obj's underlying member method code with example usage: obj.max_positions() and returns: int