Decode. Args: text_ints: TODO.
(self, text_ints)
| 92 | return text_ints |
| 93 | |
| 94 | def decode(self, text_ints): |
| 95 | """Decode. |
| 96 | |
| 97 | Args: |
| 98 | text_ints: TODO. |
| 99 | """ |
| 100 | token = self.ids2tokens(text_ints) |
| 101 | text = self.tokens2text(token) |
| 102 | return text |
| 103 | |
| 104 | def get_num_vocabulary_size(self) -> int: |
| 105 | """Get num vocabulary size.""" |
nothing calls this directly
no test coverage detected