Searched refs:FREQ (Results 1 – 4 of 4) sorted by relevance
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_time_stretch.py | 26 FREQ = 1025 variable 59 generator = gen([CHANNEL_NUM, FREQ, FRAME_NUM, COMPLEX]) 62 transforms = [c_audio.TimeStretch(512, FREQ, 1.3)] 67 assert out_put.shape == (CHANNEL_NUM, FREQ, np.ceil(FRAME_NUM / 1.3), COMPLEX) 75 generator = gen([CHANNEL_NUM, FREQ, FRAME_NUM, COMPLEX]) 79 transforms = [c_audio.TimeStretch(512, FREQ, -1.3)] 84 assert out_put.shape == (CHANNEL_NUM, FREQ, np.ceil(FRAME_NUM / 1.3), COMPLEX) 92 spectrogram = next(gen([CHANNEL_NUM, FREQ, FRAME_NUM, COMPLEX]))[0] 93 out_put = c_audio.TimeStretch(512, FREQ, 1.3)(spectrogram) 94 assert out_put.shape == (CHANNEL_NUM, FREQ, np.ceil(FRAME_NUM / 1.3), COMPLEX)
|
D | test_frequency_masking.py | 27 FREQ = 30 variable 59 spectrogram = next(gen((CHANNEL, FREQ, TIME)))[0] 61 assert out_put.shape == (CHANNEL, FREQ, TIME) 87 generator = gen([CHANNEL, FREQ, TIME]) 95 assert out_put.shape == (CHANNEL, FREQ, TIME) 108 spectrogram = next(gen((CHANNEL, FREQ, TIME)))[0]
|
D | test_time_masking.py | 27 FREQ = 20 variable 59 spectrogram = next(gen((CHANNEL, FREQ, TIME)))[0] 61 assert out_put.shape == (CHANNEL, FREQ, TIME) 87 generator = gen([CHANNEL, FREQ, TIME]) 95 assert out_put.shape == (CHANNEL, FREQ, TIME) 108 spectrogram = next(gen((CHANNEL, FREQ, TIME)))[0]
|
D | test_amplitude_to_db.py | 27 FREQ = 20 variable 86 generator = gen([CHANNEL, FREQ, TIME]) 95 assert out_put.shape == (CHANNEL, FREQ, TIME)
|