提交 993165cf 编写于 作者: Y yanghaitao

fix profiling size is -1

上级 fe797aaf
......@@ -217,8 +217,8 @@ class DatasetOp : public std::enable_shared_from_this<DatasetOp> {
if (!inlined()) {
return out_connector_->size();
}
// Return -1 for inlined op
return -1;
// Return child connector size for inlined op
return ChildOpConnectorSize();
}
// Getter function
......@@ -227,8 +227,8 @@ class DatasetOp : public std::enable_shared_from_this<DatasetOp> {
if (!inlined()) {
return out_connector_->capacity();
}
// Return -1 for inlined op
return -1;
// Return child connector capacity for inlined op
return ChildOpConnectorCapacity();
}
// Getter function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册