a89cb16
1
2
3
4
5
import torch def loss_mape(output, target): return torch.mean(torch.abs((target - output) / target))