Browse Source

fix dataset public api build_vocab

tags/v0.5.0-beta
Yanjun Peng 5 years ago
parent
commit
d14443f123
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      mindspore/dataset/engine/datasets.py

+ 0
- 1
mindspore/dataset/engine/datasets.py View File

@@ -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):


Loading…
Cancel
Save