class_docstr: This :class:`TokenIndexer` represents tokens as single integers.
  
  Parameters
  ----------
  namespace : ``str``, optional (default=``tokens``)
      We will use this namespace in the :class:`Vocabulary` to map strings to indices.
  lowercase_tokens : ``bool``, optional (default=``False``)
      If ``True``, we will call ``token.lower()`` before getting an index for the token from the
      vocabulary.
class_docstr_tok: ["This",":","class",":","`","TokenIndexer","`","represents","tokens","as","single","integers",".","Parameters","--","--","--","--","--","namespace",":","``","str","``",",","optional","(","default=","``","tokens","``",")","We","will","use","this","namespace","in","the",":","class",":","`","Vocabulary","`","to","map","strings","to","indices",".","lowercase_tokens",":","``","bool","``",",","optional","(","default=","``","False","``",")","If","``","True","``",",","we","will","call","``","token.lower","(",")","``","before","getting","an","index","for","the","token","from","the","vocabulary","."]
code: def get_padding_lengths(
      self, token
  ):  # pylint: disable=unused-argument
      return {}
  
file_path: magnitude/pymagnitude/third_party/allennlp/data/token_indexers/single_id_token_indexer.py
imports: from __future__ import absolute_import
  from allennlp.common.util import pad_sequence_to_length
  from allennlp.data.vocabulary import Vocabulary
  from allennlp.data.tokenizers.token import Token
  from allennlp.data.token_indexers.token_indexer import TokenIndexer
label_desc: Use image node_id 5 for calling the SingleIdTokenIndexer obj's underlying member method code with example usage: obj.get_padding_lengths(token) and returns: dict