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

fix profiling size is -1

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