Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
app2scale
/
dashboard
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
dashboard
/
agent
/
backend
/
loss.py
hkayabilisim
ui: initial files
a89cb16
almost 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
106 Bytes
import
torch
def
loss_mape
(
output, target
):
return
torch.mean(torch.
abs
((target - output) / target))