Browse Source

!6461 [MD] fix comment in filewriter

Merge pull request !6461 from liyong126/fix_filewriter_comment
tags/v1.0.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
55e90cc774
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      mindspore/mindrecord/filewriter.py

+ 3
- 0
mindspore/mindrecord/filewriter.py View File

@@ -34,6 +34,9 @@ class FileWriter:
"""
Class to write user defined raw data into MindRecord File series.

Note:
The mindrecord file may fail to be read if the file name is modified.

Args:
file_name (str): File name of MindRecord File.
shard_num (int, optional): Number of MindRecord File (default=1).


Loading…
Cancel
Save