!2091 fix queue length is 0 in pipeline_profiling file

Merge pull request !2091 from yanghaitao/yht_fix_profiling_capacity
This commit is contained in:
mindspore-ci-bot 2020-06-13 22:11:31 +08:00 committed by Gitee
commit 05eeedec36
1 changed files with 1 additions and 1 deletions

View File

@ -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;