code: def _encode(self, line, out_type=str):
      return self._tokenizer.encode(line, out_type=out_type)
  
imports: import importlib_resources
  import torch
  import sentencepiece
label_desc: Use image node_id 2 for calling the YaLMTokenizer obj's underlying member method code with example usage: obj._encode(line, out_type) and returns: self