/third_party/mindspore/mindspore/dataset/audio/ |
D | transforms.py | 486 def __init__(self, iid_masks=False, frequency_mask_param=0, mask_start=0, mask_value=0.0): argument 487 self.iid_masks = iid_masks 493 … return cde.FrequencyMaskingOperation(self.iid_masks, self.frequency_mask_param, self.mask_start, 658 def __init__(self, iid_masks=False, time_mask_param=0, mask_start=0, mask_value=0.0): argument 659 self.iid_masks = iid_masks 665 …return cde.TimeMaskingOperation(self.iid_masks, self.time_mask_param, self.mask_start, self.mask_v…
|
D | validators.py | 315 [iid_masks, mask_param, mask_start, mask_value], _ = parse_user_args( 317 type_check(iid_masks, (bool,), "iid_masks")
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_frequency_masking.py | 99 … def test_invalid_param(test_name, iid_masks, frequency_mask_param, mask_start, error, error_msg): argument 102 audio.FrequencyMasking(iid_masks, frequency_mask_param, mask_start) 105 … def test_invalid_input(test_name, iid_masks, frequency_mask_param, mask_start, error, error_msg): argument 109 _ = audio.FrequencyMasking(iid_masks, frequency_mask_param, mask_start)(spectrogram)
|
D | test_time_masking.py | 99 def test_invalid_param(test_name, iid_masks, time_mask_param, mask_start, error, error_msg): argument 102 audio.TimeMasking(iid_masks, time_mask_param, mask_start) 105 def test_invalid_input(test_name, iid_masks, time_mask_param, mask_start, error, error_msg): argument 109 _ = audio.TimeMasking(iid_masks, time_mask_param, mask_start)(spectrogram)
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | audio.cc | 254 Data(bool iid_masks, int32_t frequency_mask_param, int32_t mask_start, float mask_value) in Data() 255 : iid_masks_(iid_masks), in Data() 265 FrequencyMasking::FrequencyMasking(bool iid_masks, int32_t frequency_mask_param, int32_t mask_start… in FrequencyMasking() argument 266 : data_(std::make_shared<Data>(iid_masks, frequency_mask_param, mask_start, mask_value)) {} in FrequencyMasking() 343 Data(bool iid_masks, int32_t time_mask_param, int32_t mask_start, float mask_value) in Data() 344 …: iid_masks_(iid_masks), time_mask_param_(time_mask_param), mask_start_(mask_start), mask_value_(m… in Data() 351 TimeMasking::TimeMasking(bool iid_masks, int32_t time_mask_param, int32_t mask_start, float mask_va… in TimeMasking() argument 352 : data_(std::make_shared<Data>(iid_masks, time_mask_param, mask_start, mask_value)) {} in TimeMasking()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/ir/kernels/ |
D | time_masking_ir.cc | 25 TimeMaskingOperation::TimeMaskingOperation(bool iid_masks, int32_t time_mask_param, int32_t mask_st… in TimeMaskingOperation() argument 27 …: iid_masks_(iid_masks), time_mask_param_(time_mask_param), mask_start_(mask_start), mask_value_(m… in TimeMaskingOperation()
|
D | frequency_masking_ir.cc | 24 FrequencyMaskingOperation::FrequencyMaskingOperation(bool iid_masks, int32_t frequency_mask_param, … in FrequencyMaskingOperation() argument 26 : iid_masks_(iid_masks), in FrequencyMaskingOperation()
|
D | frequency_masking_ir.h | 34 …FrequencyMaskingOperation(bool iid_masks, int32_t frequency_mask_param, int32_t mask_start, float …
|
D | time_masking_ir.h | 34 …TimeMaskingOperation(bool iid_masks, int32_t time_mask_param, int32_t mask_start, float mask_value…
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/kernels/ |
D | time_masking_op.cc | 26 TimeMaskingOp::TimeMaskingOp(bool iid_masks, int32_t time_mask_param, int32_t mask_start, float mas… in TimeMaskingOp() argument 27 …: iid_masks_(iid_masks), time_mask_param_(time_mask_param), mask_start_(mask_start), mask_value_(m… in TimeMaskingOp()
|
D | frequency_masking_op.cc | 26 FrequencyMaskingOp::FrequencyMaskingOp(bool iid_masks, int32_t frequency_mask_param, int32_t mask_s… in FrequencyMaskingOp() argument 30 iid_masks_(iid_masks), in FrequencyMaskingOp()
|
D | time_masking_op.h | 33 …explicit TimeMaskingOp(bool iid_masks = false, int32_t time_mask_param = 0, int32_t mask_start = 0,
|
D | frequency_masking_op.h | 33 …explicit FrequencyMaskingOp(bool iid_masks = false, int32_t frequency_mask_param = 0, int32_t mask…
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/audio/kernels/ir/ |
D | bindings.cc | 223 ….def(py::init([](bool iid_masks, int32_t frequency_mask_param, int32_t mask_start, float mask_valu… in __anona6eb1ce31f02() argument 225 …std::make_shared<audio::FrequencyMaskingOperation>(iid_masks, frequency_mask_param, mask_start, ma… in __anona6eb1ce31f02() 289 … .def(py::init([](bool iid_masks, int32_t time_mask_param, int32_t mask_start, float mask_value) { in __anona6eb1ce32b02() argument 291 … std::make_shared<audio::TimeMaskingOperation>(iid_masks, time_mask_param, mask_start, mask_value); in __anona6eb1ce32b02()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | audio.h | 361 …explicit FrequencyMasking(bool iid_masks = false, int32_t frequency_mask_param = 0, int32_t mask_s… 498 explicit TimeMasking(bool iid_masks = false, int32_t time_mask_param = 0, int32_t mask_start = 0,
|