fix profiling capacity

This commit is contained in:
yanghaitao 2020-06-13 21:15:11 +08:00
parent f1a004cfa2
commit 53cee6589e
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;