fix waring

This commit is contained in:
shenwei41 2021-09-22 14:51:29 +08:00
parent c3ce92a9f2
commit 2c8923807b
4 changed files with 0 additions and 7 deletions

View File

@ -46,7 +46,6 @@ Status BandBiquadOperation::to_json(nlohmann::json *out_json) {
*out_json = args;
return Status::OK();
}
} // namespace audio
} // namespace dataset
} // namespace mindspore

View File

@ -21,9 +21,7 @@
namespace mindspore {
namespace dataset {
namespace audio {
MagphaseOperation::MagphaseOperation(float power) : power_(power) {}
Status MagphaseOperation::ValidateParams() {
@ -46,7 +44,6 @@ Status MagphaseOperation::from_json(nlohmann::json op_params, std::shared_ptr<Te
*operation = std::make_shared<audio::MagphaseOperation>(power);
return Status::OK();
}
} // namespace audio
} // namespace dataset
} // namespace mindspore

View File

@ -20,7 +20,6 @@
namespace mindspore {
namespace dataset {
constexpr float MagphaseOp::kPower = 1.0;
Status MagphaseOp::Compute(const TensorRow &input, TensorRow *output) {
@ -56,6 +55,5 @@ Status MagphaseOp::OutputType(const std::vector<DataType> &inputs, std::vector<D
}
return Status::OK();
}
} // namespace dataset
} // namespace mindspore

View File

@ -57,7 +57,6 @@ Status AdjustGammaOperation::from_json(nlohmann::json op_params, std::shared_ptr
return Status::OK();
}
#endif
} // namespace vision
} // namespace dataset
} // namespace mindspore