def _get_melgram_model(return_decibel, amin, dynamic_range, input_shape=None):
    melgram_model = get_melspectrogram_layer(n_fft=n_fft, sample_rate=sr, n_mels=n_mels, mel_f_min=mel_f_min, mel_f_max=mel_f_max, win_length=win_length, hop_length=hop_length, input_data_format=data_format, output_data_format=data_format, return_decibel=return_decibel, input_shape=input_shape, db_amin=amin, db_dynamic_range=dynamic_range)
    return melgram_model
def _get_melgram_model(return_decibel, amin, dynamic_range, input_shape=None):
    melgram_model = get_melspectrogram_layer(n_fft=n_fft, sample_rate=sr, n_mels=n_mels, mel_f_min=mel_f_min, mel_f_max=mel_f_max, win_length=win_length, hop_length=hop_length, input_data_format=data_format, output_data_format=data_format, return_decibel=return_decibel, input_shape=input_shape, db_amin=amin, db_dynamic_range=dynamic_range)
    return melgram_model