提交 cbb159de 编写于 作者: P panfengfeng

fix some log errors

上级 57252dee
...@@ -58,7 +58,7 @@ Status TextFileOp::Builder::Build(std::shared_ptr<TextFileOp> *op) { ...@@ -58,7 +58,7 @@ Status TextFileOp::Builder::Build(std::shared_ptr<TextFileOp> *op) {
// Throttle the number of workers if we have more workers than files! // Throttle the number of workers if we have more workers than files!
if (static_cast<size_t>(builder_num_workers_) > builder_text_files_list_.size()) { if (static_cast<size_t>(builder_num_workers_) > builder_text_files_list_.size()) {
builder_num_workers_ = builder_text_files_list_.size(); builder_num_workers_ = builder_text_files_list_.size();
MS_LOG(WARNING) << "TextFileOp operator parallelism reduced to " << builder_num_workers_ << " workers."; MS_LOG(DEBUG) << "TextFileOp operator parallelism reduced to " << builder_num_workers_ << " workers.";
} }
builder_schema_ = std::make_unique<DataSchema>(); builder_schema_ = std::make_unique<DataSchema>();
......
...@@ -253,8 +253,8 @@ class Dataset: ...@@ -253,8 +253,8 @@ class Dataset:
If a per_batch_map callable is provided, it will be applied to the batches of tensors. If a per_batch_map callable is provided, it will be applied to the batches of tensors.
Note: Note:
The order of using repeat and batch reflects the number of batches. Recommend that The order of using repeat and batch reflects the number of batches and per_batch_map.
repeat operation should be used after batch operation. Recommend that repeat operation should be used after batch operation.
Args: Args:
batch_size (int or function): The number of rows each batch is created with. An batch_size (int or function): The number of rows each batch is created with. An
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册