forked from mindspore-Ecosystem/mindspore
!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:
commit
05eeedec36
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue