Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/TRELLIS
/ l2_loss
Function
l2_loss
trellis/utils/loss_utils.py:18–19 ·
view source on GitHub ↗
(network_output, gt)
Source
from the content-addressed store, hash-verified
16
17
18
def
l2_loss(network_output, gt):
19
return
((network_output - gt) ** 2).mean()
20
21
22
def
gaussian(window_size, sigma):
Callers
2
training_losses
Method · 0.85
training_losses
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected