提交 05eeedec 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!2091 fix queue length is 0 in pipeline_profiling file

Merge pull request !2091 from yanghaitao/yht_fix_profiling_capacity
......@@ -225,7 +225,7 @@ class DatasetOp : public std::enable_shared_from_this<DatasetOp> {
// @return connector size of current op
int32_t ConnectorCapacity() const {
if (!inlined()) {
return out_connector_->size();
return out_connector_->capacity();
}
// Return -1 for inlined op
return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册