Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
magicwindyyd
mindspore
提交
13c63f02
M
mindspore
项目概览
magicwindyyd
/
mindspore
与 Fork 源项目一致
Fork自
MindSpore / mindspore
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindspore
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
13c63f02
编写于
8月 06, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
8月 06, 2020
浏览文件
操作
浏览文件
下载
差异文件
!4022 [MD] Fix Execution Tree Output
Merge pull request !4022 from nhussain/print_op_fix
上级
e9422646
ed4d4107
变更
32
隐藏空白更改
内联
并排
Showing
32 changed file
with
5 addition
and
66 deletion
+5
-66
mindspore/ccsrc/minddata/dataset/engine/datasetops/barrier_op.cc
...re/ccsrc/minddata/dataset/engine/datasetops/barrier_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/batch_op.cc
...pore/ccsrc/minddata/dataset/engine/datasetops/batch_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/build_vocab_op.cc
...csrc/minddata/dataset/engine/datasetops/build_vocab_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/cache_base_op.cc
...ccsrc/minddata/dataset/engine/datasetops/cache_base_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/cache_merge_op.cc
...csrc/minddata/dataset/engine/datasetops/cache_merge_op.cc
+1
-3
mindspore/ccsrc/minddata/dataset/engine/datasetops/concat_op.cc
...ore/ccsrc/minddata/dataset/engine/datasetops/concat_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/dataset_op.cc
...re/ccsrc/minddata/dataset/engine/datasetops/dataset_op.cc
+4
-3
mindspore/ccsrc/minddata/dataset/engine/datasetops/device_queue_op.cc
...src/minddata/dataset/engine/datasetops/device_queue_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/epoch_ctrl_op.cc
...ccsrc/minddata/dataset/engine/datasetops/epoch_ctrl_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/filter_op.cc
...ore/ccsrc/minddata/dataset/engine/datasetops/filter_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/map_op.cc
...ccsrc/minddata/dataset/engine/datasetops/map_op/map_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/project_op.cc
...re/ccsrc/minddata/dataset/engine/datasetops/project_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/rename_op.cc
...ore/ccsrc/minddata/dataset/engine/datasetops/rename_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/repeat_op.cc
...ore/ccsrc/minddata/dataset/engine/datasetops/repeat_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc
...re/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/skip_op.cc
...spore/ccsrc/minddata/dataset/engine/datasetops/skip_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/celeba_op.cc
...rc/minddata/dataset/engine/datasetops/source/celeba_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/cifar_op.cc
...src/minddata/dataset/engine/datasetops/source/cifar_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/clue_op.cc
...csrc/minddata/dataset/engine/datasetops/source/clue_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/coco_op.cc
...csrc/minddata/dataset/engine/datasetops/source/coco_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/csv_op.cc
...ccsrc/minddata/dataset/engine/datasetops/source/csv_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/generator_op.cc
...minddata/dataset/engine/datasetops/source/generator_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/image_folder_op.cc
...ddata/dataset/engine/datasetops/source/image_folder_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/manifest_op.cc
.../minddata/dataset/engine/datasetops/source/manifest_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/mindrecord_op.cc
...inddata/dataset/engine/datasetops/source/mindrecord_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/mnist_op.cc
...src/minddata/dataset/engine/datasetops/source/mnist_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/random_data_op.cc
...nddata/dataset/engine/datasetops/source/random_data_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/text_file_op.cc
...minddata/dataset/engine/datasetops/source/text_file_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/tf_reader_op.cc
...minddata/dataset/engine/datasetops/source/tf_reader_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/voc_op.cc
...ccsrc/minddata/dataset/engine/datasetops/source/voc_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/take_op.cc
...spore/ccsrc/minddata/dataset/engine/datasetops/take_op.cc
+0
-2
mindspore/ccsrc/minddata/dataset/engine/datasetops/zip_op.cc
mindspore/ccsrc/minddata/dataset/engine/datasetops/zip_op.cc
+0
-2
未找到文件。
mindspore/ccsrc/minddata/dataset/engine/datasetops/barrier_op.cc
浏览文件 @
13c63f02
...
...
@@ -212,8 +212,6 @@ Status BarrierOp::getNextTensorRow(TensorRow *new_row) {
// A function that prints info about the Operator
void
BarrierOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <BarrierOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/batch_op.cc
浏览文件 @
13c63f02
...
...
@@ -135,8 +135,6 @@ Status BatchOp::operator()() {
}
void
BatchOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/build_vocab_op.cc
浏览文件 @
13c63f02
...
...
@@ -207,8 +207,6 @@ BuildVocabOp::Builder::Builder()
// A print method typically used for debugging
void
BuildVocabOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/cache_base_op.cc
浏览文件 @
13c63f02
...
...
@@ -22,8 +22,6 @@ namespace mindspore {
namespace
dataset
{
// A print method typically used for debugging
void
CacheBase
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/cache_merge_op.cc
浏览文件 @
13c63f02
...
...
@@ -28,9 +28,7 @@
namespace
mindspore
{
namespace
dataset
{
CacheMergeOp
::~
CacheMergeOp
()
=
default
;
void
CacheMergeOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this is summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
void
CacheMergeOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/concat_op.cc
浏览文件 @
13c63f02
...
...
@@ -42,8 +42,6 @@ ConcatOp::ConcatOp(int32_t op_connector_size) : PipelineOp(op_connector_size), c
// A function that prints info about the Operator
void
ConcatOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this is summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/dataset_op.cc
浏览文件 @
13c63f02
...
...
@@ -222,7 +222,10 @@ void DatasetOp::Print(std::ostream &out, bool show_all) const {
// When show_all is true, we display more detailed output for the op.
// Derived printers should show their own header info, then call base class printer, followed by
// derived-specific items.
// For now, the base class doesn't have any summary info to show so it's a no-op in that case.
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
show_all
)
{
// The detailed display will show common base class info of the op. Allow the derived class to print
// it's own id and name though as the first line.
...
...
@@ -239,8 +242,6 @@ void DatasetOp::Print(std::ostream &out, bool show_all) const {
if
(
sampler_
)
{
sampler_
->
Print
(
out
,
show_all
);
}
}
else
{
out
<<
Name
()
<<
std
::
endl
;
}
}
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/device_queue_op.cc
浏览文件 @
13c63f02
...
...
@@ -307,8 +307,6 @@ Status DeviceQueueOp::SendDataToCPU() {
}
void
DeviceQueueOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/epoch_ctrl_op.cc
浏览文件 @
13c63f02
...
...
@@ -42,8 +42,6 @@ EpochCtrlOp::~EpochCtrlOp() {}
// A print method typically used for debugging
void
EpochCtrlOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/filter_op.cc
浏览文件 @
13c63f02
...
...
@@ -90,8 +90,6 @@ Status FilterOp::ValidateInColumns(const std::vector<std::string> *input_columns
// A print method typically used for debugging.
void
FilterOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/map_op.cc
浏览文件 @
13c63f02
...
...
@@ -82,8 +82,6 @@ int32_t MapOp::num_consumers() const {
// A print method typically used for debugging
void
MapOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/project_op.cc
浏览文件 @
13c63f02
...
...
@@ -51,8 +51,6 @@ ProjectOp::ProjectOp(const std::vector<std::string> &columns_to_project)
:
PipelineOp
(
0
),
columns_to_project_
(
columns_to_project
)
{}
void
ProjectOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/rename_op.cc
浏览文件 @
13c63f02
...
...
@@ -141,8 +141,6 @@ Status RenameOp::ComputeColMap() {
// prints rename
void
RenameOp
::
Print
(
std
::
ostream
&
out
,
// In: The output stream to print to
bool
show_all
)
const
{
// In: T/F if it should print everything
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/repeat_op.cc
浏览文件 @
13c63f02
...
...
@@ -53,8 +53,6 @@ RepeatOp::~RepeatOp() {}
// A print method typically used for debugging
void
RepeatOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc
浏览文件 @
13c63f02
...
...
@@ -100,8 +100,6 @@ Status ShuffleOp::SelfReset() {
// A print method typically used for debugging
void
ShuffleOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/skip_op.cc
浏览文件 @
13c63f02
...
...
@@ -58,8 +58,6 @@ SkipOp::~SkipOp() {}
// A print method typically used for debugging
void
SkipOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/celeba_op.cc
浏览文件 @
13c63f02
...
...
@@ -386,8 +386,6 @@ Status CelebAOp::LoadTensorRow(row_id_type row_id, const std::pair<std::string,
}
void
CelebAOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <CelebAOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/cifar_op.cc
浏览文件 @
13c63f02
...
...
@@ -217,8 +217,6 @@ Status CifarOp::LoadBuffer(const std::vector<int64_t> &keys, std::unique_ptr<Dat
}
void
CifarOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <CifarOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/clue_op.cc
浏览文件 @
13c63f02
...
...
@@ -311,8 +311,6 @@ Status ClueOp::WorkerEntry(int32_t worker_id) {
// A print method typically used for debugging
void
ClueOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <ClueOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/coco_op.cc
浏览文件 @
13c63f02
...
...
@@ -188,8 +188,6 @@ Status CocoOp::operator()() {
}
void
CocoOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <CocoOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/csv_op.cc
浏览文件 @
13c63f02
...
...
@@ -512,8 +512,6 @@ Status CsvOp::WorkerEntry(int32_t worker_id) {
// A print method typically used for debugging
void
CsvOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <CsvOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/generator_op.cc
浏览文件 @
13c63f02
...
...
@@ -61,8 +61,6 @@ GeneratorOp::GeneratorOp(py::function generator_function, std::vector<std::strin
GeneratorOp
::~
GeneratorOp
()
{
this
->
Dealloc
();
}
void
GeneratorOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <GeneratorOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/image_folder_op.cc
浏览文件 @
13c63f02
...
...
@@ -228,8 +228,6 @@ Status ImageFolderOp::LoadBuffer(const std::vector<int64_t> &keys, std::unique_p
}
void
ImageFolderOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <ImageFolderOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/manifest_op.cc
浏览文件 @
13c63f02
...
...
@@ -217,8 +217,6 @@ Status ManifestOp::LoadBuffer(const std::vector<int64_t> &keys, std::unique_ptr<
}
void
ManifestOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <ManifestOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/mindrecord_op.cc
浏览文件 @
13c63f02
...
...
@@ -196,8 +196,6 @@ MindRecordOp::~MindRecordOp() {}
// A print method typically used for debugging
void
MindRecordOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <MindRecordOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/mnist_op.cc
浏览文件 @
13c63f02
...
...
@@ -181,8 +181,6 @@ Status MnistOp::LoadBuffer(const std::vector<int64_t> &keys, std::unique_ptr<Dat
}
void
MnistOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <MnistOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/random_data_op.cc
浏览文件 @
13c63f02
...
...
@@ -91,8 +91,6 @@ RandomDataOp::RandomDataOp(int32_t num_workers, int32_t op_connector_size, int64
// A print method typically used for debugging
void
RandomDataOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <RandomDataOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/text_file_op.cc
浏览文件 @
13c63f02
...
...
@@ -98,8 +98,6 @@ TextFileOp::TextFileOp(int32_t num_workers, int64_t rows_per_buffer, int64_t tot
// A print method typically used for debugging
void
TextFileOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <TextFileOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/tf_reader_op.cc
浏览文件 @
13c63f02
...
...
@@ -158,8 +158,6 @@ TFReaderOp::TFReaderOp(int32_t num_workers, int32_t worker_connector_size, int64
// A print method typically used for debugging
void
TFReaderOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <TFReaderOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/voc_op.cc
浏览文件 @
13c63f02
...
...
@@ -166,8 +166,6 @@ Status VOCOp::operator()() {
}
void
VOCOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <VOCOp>:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
ParallelOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/take_op.cc
浏览文件 @
13c63f02
...
...
@@ -53,8 +53,6 @@ TakeOp::TakeOp(int32_t count, int32_t op_connector_size)
// A print method typically used for debugging
void
TakeOp
::
Print
(
std
::
ostream
&
out
,
bool
show_all
)
const
{
// Always show the id and name as first line regardless if this summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
mindspore/ccsrc/minddata/dataset/engine/datasetops/zip_op.cc
浏览文件 @
13c63f02
...
...
@@ -208,8 +208,6 @@ Status ZipOp::drainPipeline() {
// A function that prints info about the Operator
void
ZipOp
::
Print
(
std
::
ostream
&
out
,
// In: The output stream to print to
bool
show_all
)
const
{
// In: T/F if it should print everything
// Always show the id and name as first line regardless if this is summary or detailed print
out
<<
"("
<<
std
::
setw
(
2
)
<<
operator_id_
<<
") <"
<<
Name
()
<<
">:"
;
if
(
!
show_all
)
{
// Call the super class for displaying any common 1-liner info
PipelineOp
::
Print
(
out
,
show_all
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录