original_docstring: Maximum input length supported by the encoder.
docstring: Maximum input length supported by the encoder.
docstring_tokens: Maximum input length supported by the encoder .
code: def max_positions(self):
          """Maximum input length supported by the encoder."""
          if self.embed_positions is None:
              return self.max_source_positions
          return min(self.max_source_positions, self.embed_positions.max_positions)
code_tokens: def max_positions ( self ) : if self . embed_positions is None : return self . max_source_positions return min ( self . max_source_positions , self . embed_positions . max_positions )
short_docstring: Maximum input length supported by the encoder.
short_docstring_tokens: Maximum input length supported by the encoder .
comment: """Maximum input length supported by the encoder."""