fixing a bug in random sharpness

This commit is contained in:
avakh 2020-08-24 17:15:05 -04:00
parent a117b6dc14
commit f6f67b9751
1 changed files with 1 additions and 2 deletions

View File

@ -44,8 +44,7 @@ Status RandomSharpnessOp::Compute(const std::shared_ptr<Tensor> &input, std::sha
float mid = (end_degree_ + start_degree_) / 2;
alpha_ = mid + random_double * degree_range;
SharpnessOp::Compute(input, output);
return Status::OK();
return SharpnessOp::Compute(input, output);
}
} // namespace dataset
} // namespace mindspore