Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/dataset/audio/
Dtransforms.py486 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…
Dvalidators.py315 [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/
Dtest_frequency_masking.py99 … 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)
Dtest_time_masking.py99 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/
Daudio.cc254 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/
Dtime_masking_ir.cc25 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()
Dfrequency_masking_ir.cc24 FrequencyMaskingOperation::FrequencyMaskingOperation(bool iid_masks, int32_t frequency_mask_param, … in FrequencyMaskingOperation() argument
26 : iid_masks_(iid_masks), in FrequencyMaskingOperation()
Dfrequency_masking_ir.h34 …FrequencyMaskingOperation(bool iid_masks, int32_t frequency_mask_param, int32_t mask_start, float …
Dtime_masking_ir.h34 …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/
Dtime_masking_op.cc26 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()
Dfrequency_masking_op.cc26 FrequencyMaskingOp::FrequencyMaskingOp(bool iid_masks, int32_t frequency_mask_param, int32_t mask_s… in FrequencyMaskingOp() argument
30 iid_masks_(iid_masks), in FrequencyMaskingOp()
Dtime_masking_op.h33 …explicit TimeMaskingOp(bool iid_masks = false, int32_t time_mask_param = 0, int32_t mask_start = 0,
Dfrequency_masking_op.h33 …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/
Dbindings.cc223 ….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/
Daudio.h361 …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,