code: def max_decoder_positions(self):
      return max(
          self.encoder.max_positions(), self.decoder.max_positions()
      )
  
file_path: pytext/pytext/models/seq_models/rnn_encoder_decoder.py
imports: from typing import Dict, List, Optional
  import torch.jit
  from pytext.config import ConfigBase
  from pytext.models.module import create_module
  from pytext.utils.usage import log_class_usage
  from .base import PyTextSeq2SeqModule
  from .rnn_decoder import RNNDecoder
  from .rnn_encoder import LSTMSequenceEncoder
label_desc: Use image node_id 5 for calling the RNNModel obj's underlying member method code with example usage: obj.max_decoder_positions() and returns: max