class_docstr: Base class for decoders.
class_docstr_tok: ["Base","class","for","decoders","."]
docstr: Maximum input length supported by the decoder.
docstr_tok: ["Maximum","input","length","supported","by","the","decoder","."]
code: def max_positions(self):
      """Maximum input length supported by the decoder."""
      return 1e6
  
file_path: fairseq/fairseq/models/fairseq_decoder.py
imports: from typing import Dict, List, Optional, Tuple
  import torch.nn
  from fairseq import utils
  from torch import Tensor
label_desc: Use image node_id 7 for calling the FairseqDecoder obj's underlying member method code with example usage: obj.max_positions() and returns: int