Home
last modified time | relevance | path

Searched refs:mask_start (Results 1 – 18 of 18) 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
489 self.mask_start = mask_start
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
661 self.mask_start = mask_start
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(
320 type_check(mask_start, (int,), "mask_start")
321 check_non_negative_float32(mask_start, "mask_start")
/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()
257 mask_start_(mask_start), 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 …MaskingOperation::TimeMaskingOperation(bool iid_masks, int32_t time_mask_param, int32_t mask_start, 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 …ration::FrequencyMaskingOperation(bool iid_masks, int32_t frequency_mask_param, int32_t mask_start, in FrequencyMaskingOperation() argument
28 mask_start_(mask_start), 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 …encyMaskingOp::FrequencyMaskingOp(bool iid_masks, int32_t frequency_mask_param, int32_t mask_start, in FrequencyMaskingOp() argument
29 mask_start_(mask_start), in FrequencyMaskingOp()
Daudio_utils.cc355 int32_t mask_start = min_freq_value(rnd); in RandomMaskAlongAxis() local
357 return MaskAlongAxis(input, output, mask_width, mask_start, mask_value, axis); in RandomMaskAlongAxis()
361 int32_t mask_start, float mask_value, int32_t axis) { in MaskAlongAxis() argument
371 CHECK_FAIL_RETURN_UNEXPECTED(0 <= mask_start && mask_start <= input_shape[check_dim_ind], in MaskAlongAxis()
373 CHECK_FAIL_RETURN_UNEXPECTED(mask_start + mask_width <= input_shape[check_dim_ind], in MaskAlongAxis()
382 auto start_pos = ind % (mask_width * input_shape[-1]) + mask_start * input_shape[-1] + in MaskAlongAxis()
400 auto start_pos = ind % mask_width + mask_start + input_shape[-1] * row_num; in MaskAlongAxis()
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 …requencyMaskingOp(bool iid_masks = false, int32_t frequency_mask_param = 0, int32_t mask_start = 0,
Daudio_utils.h304 int32_t mask_start, float mask_value, int32_t axis);
/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 …_shared<audio::FrequencyMaskingOperation>(iid_masks, frequency_mask_param, mask_start, mask_value); 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/ffmpeg/libavcodec/
Dmidivid.c54 const uint8_t *mask_start; in decode_mvdv() local
70 mask_start = gb->buffer_start + bytestream2_tell(gb); in decode_mvdv()
77 ret = init_get_bits8(&mask, mask_start, mask_size); in decode_mvdv()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Daudio.h361 … FrequencyMasking(bool iid_masks = false, int32_t frequency_mask_param = 0, int32_t mask_start = 0,
498 explicit TimeMasking(bool iid_masks = false, int32_t time_mask_param = 0, int32_t mask_start = 0,