Browse Source

!2091 fix queue length is 0 in pipeline_profiling file

Merge pull request !2091 from yanghaitao/yht_fix_profiling_capacity
tags/v0.5.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
05eeedec36
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/dataset/engine/datasetops/dataset_op.h

+ 1
- 1
mindspore/ccsrc/dataset/engine/datasetops/dataset_op.h 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;


Loading…
Cancel
Save