class_docstr: vocab op test 
class_docstr_tok: ["vocab","op","test"]
docstr: test vocab id to token which is loaded from vocabfile
docstr_tok: ["test","vocab","id","to","token","which","is","loaded","from","vocabfile"]
code: def test_vocab_id_to_token_load_id(self):
      """test vocab id to token which is loaded from vocabfile"""
      with self.cached_session(use_gpu=False, force_gpu=False):
          vocab = [
              "<s>	3",
              "</s>	5",
              "<unk>	7",
              "<epsilon>	9",
              "a	2",
              "b c d e	4",
              "øut	8",
              "über	10",
              "♣	-1",
              "愤青	-3",
              "←	-5",
          ]
          self.assertEqual(
              "<s>",
              py_x_ops.vocab_id_to_token(
                  3, vocab=vocab, load_token_ids_from_vocab=True
              )
              .eval()
              .decode("utf-8"),
          )
          self.assertEqual(
              "a",
              py_x_ops.vocab_id_to_token(
                  2, vocab=vocab, load_token_ids_from_vocab=True
              )
              .eval()
              .decode("utf-8"),
          )
          res = py_x_ops.vocab_id_to_token(
              [4, -1], vocab=vocab, load_token_ids_from_vocab=True
          ).eval()
          res = [r.decode("utf-8") for r in res]
  
          self.assertAllEqual(["b c d e", "♣"], res)
          self.assertEqual(
              "<unk>",
              py_x_ops.vocab_id_to_token(
                  7, vocab=vocab, load_token_ids_from_vocab=True
              )
              .eval()
              .decode("utf-8"),
          )
          self.assertEqual(
              "<unk>",
              py_x_ops.vocab_id_to_token(
                  0, vocab=vocab, load_token_ids_from_vocab=True
              )
              .eval()
              .decode("utf-8"),
          )
  
file_path: delta/core/ops/kernels/simple_vocab_op_test.py
imports: import delta.compat
  from delta.layers.ops import py_x_ops
label_desc: Use image node_id 6 for calling the VocabOpsTest obj's underlying member method code with example usage: obj.test_vocab_id_to_token_load_id() without return types