Home
last modified time | relevance | path

Searched refs:kPower (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/kernels/
Dmagphase_op.h31 static const float kPower;
33 explicit MagphaseOp(float power = kPower) : power_(power) {} in power_()
Damplitude_to_db_op.cc35 float multiplier = stype_ == ScaleType::kPower ? 10.0 : 20.0; in Compute()
Dmagphase_op.cc23 constexpr float MagphaseOp::kPower = 1.0; member in mindspore::dataset::MagphaseOp
Daudio_utils.h352 } else if (gain_type == GainType::kPower) { in Vol()
/third_party/mindspore/mindspore/core/ops/grad/
Dpower_grad.cc29 void PowerGrad::set_power(const float power) { (void)this->AddAttr(kPower, MakeValue(power)); } in set_power()
31 auto value_ptr = GetAttr(kPower); in get_power()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dconstants.h79 kPower = 1, ///< Audio scale is power. enumerator
85 kPower = 1, ///< Audio gain type is power. enumerator
Daudio.h107 …explicit AmplitudeToDB(ScaleType stype = ScaleType::kPower, float ref_value = 1.0, float amin = 1e…
/third_party/skia/tools/skui/
DKey.h56 kPower, //!< power button - same enumerator
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/ir/kernels/
Dvol_ir.cc33 !(gain_type_ == GainType::kPower && gain_ <= 0), in ValidateParams()
/third_party/flutter/skia/tools/sk_app/
DWindow.h121 kPower, //!< power button - same enumerator
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/audio/kernels/ir/
Dbindings.cc75 .value("DE_SCALETYPE_POWER", ScaleType::kPower) in __anonb7c3dee10502()
321 .value("DE_GAINTYPE_POWER", GainType::kPower) in __anonb7c3dee13102()
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_audio_r_to_z_test.cc208 auto vol_op = audio::Vol(-1.5, GainType::kPower); in TEST_F()
Dexecute_test.cc135 std::make_shared<audio::AmplitudeToDB>(ScaleType::kPower, 1.0, -1e-10, 80.0); in TEST_F()
1080 std::shared_ptr<TensorTransform> vol_op = std::make_shared<audio::Vol>(0.2, GainType::kPower); in TEST_F()
Dc_api_audio_a_to_q_test.cc84 auto amplitude_to_db_op = audio::AmplitudeToDB(ScaleType::kPower, 1.0, -1e-10, 80.0); in TEST_F()
/third_party/mindspore/mindspore/core/ops/
Dop_utils.h167 constexpr auto kPower = "power"; variable