class_docstr: Generic encoder interface.
docstr: :return: The size of the encoded sequence.
docstr_tok: [":","return",":","The","size","of","the","encoded","sequence","."]
code: def get_encoded_seq_len(self, seq_len: int) -> int:
      """
      :return: The size of the encoded sequence.
      """
      return seq_len
  
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 2 for calling the Encoder obj's underlying member method code with example usage: obj.get_encoded_seq_len(seq_len) and returns: seq_len