class_docstr: Generic encoder interface.
docstr: :return: The maximum length supported by the encoder if such a restriction exists.
docstr_tok: [":","return",":","The","maximum","length","supported","by","the","encoder","if","such","a","restriction","exists","."]
code: def get_max_seq_len(self) -> Optional[int]:
      """
      :return: The maximum length supported by the encoder if such a restriction exists.
      """
      return None
  
imports: from abc import abstractmethod
  from dataclasses import dataclass, field
  from typing import List, Tuple, Optional, Union
  import torch
  import sockeye.constants
  from .None import config
  from .None import layers
  from .None import transformer
label_desc: Use image node_id 3 for calling the Encoder obj's underlying member method code with example usage: obj.get_max_seq_len() and returns: None