This commit is contained in:
shenwei41 2020-12-04 12:14:29 +08:00
parent c81bb8fe39
commit 31325ea231
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ uint32_t RandomChoiceOp::NumOutput() {
for (auto &op : ops_) { for (auto &op : ops_) {
uint32_t cur_num = op->NumOutput(); uint32_t cur_num = op->NumOutput();
if (num_output != cur_num) { if (num_output != cur_num) {
MS_LOG(WARNING) << "Unable to determine NumInput, ops in RandomChoice don't have the same number of input."; MS_LOG(WARNING) << "Unable to determine NumOutput, ops in RandomChoice don't have the same number of output.";
return 0; return 0;
} }
} }