Browse Source

!2360 Fix api doc of dataset build_vocab

Merge pull request !2360 from pengyanjun/fix_dataset_public_api_build_vocab
tags/v0.5.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
9d3e0696d5
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