From d14443f1231da96317f08c52234a573aae881bb7 Mon Sep 17 00:00:00 2001 From: Yanjun Peng Date: Fri, 19 Jun 2020 17:01:29 +0800 Subject: [PATCH] fix dataset public api build_vocab --- mindspore/dataset/engine/datasets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mindspore/dataset/engine/datasets.py b/mindspore/dataset/engine/datasets.py index 70e9b763f6..7f85aba694 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):