code: def convert_tokens_to_ids(self, tokens):
      return [self.vocab.get(t, self.unk_id) for t in tokens]
  
file_path: PaddleHub/modules/text/text_generation/reading_pictures_writing_poems_for_midautumn/MidAutumnPoetry/model/tokenizing_ernie.py
imports: import six
  import re
  import logging
  from functools import partial
  import numpy
  import io
label_desc: Use image node_id 3 for calling the ErnieTokenizer obj's underlying member method code with example usage: obj.convert_tokens_to_ids(tokens) and returns: unknown