diff --git a/mindspore/dataset/engine/datasets.py b/mindspore/dataset/engine/datasets.py index 70e9b763f61f442c070b9eaccd27abffe1469f3a..7f85aba69427486a7e99eae79945f16d683b4b96 100644 --- a/mindspore/dataset/engine/datasets.py +++ b/mindspore/dataset/engine/datasets.py @@ -895,7 +895,6 @@ class Dataset: return ProjectDataset(self, columns) def build_vocab(self, vocab, columns, freq_range, top_k, special_tokens, special_first): - """ Internal function for building a vocab""" return BuildVocabDataset(self, vocab, columns, freq_range, top_k, special_tokens, special_first) def apply(self, apply_func):