# NOT RUN {
if(torch::torch_is_installed()) {
melresnet = model_melresnet()
input = torch::torch_rand(10, 128, 512) # a random spectrogram
output = melresnet(input) # shape: (10, 128, 508)
}
# }
Run the code above in your browser using DataLab