fix waring
This commit is contained in:
parent
c3ce92a9f2
commit
2c8923807b
|
@ -46,7 +46,6 @@ Status BandBiquadOperation::to_json(nlohmann::json *out_json) {
|
|||
*out_json = args;
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
} // namespace audio
|
||||
} // namespace dataset
|
||||
} // namespace mindspore
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue