Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ se_loss
Function
se_loss
examples/msmlp/model.py:65–68 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
63
return
dx
64
65
def
se_loss(x):
66
# assert x.shape == t.shape, "input and target shape different: %s, %s" % (
67
# x.shape, t.shape)
68
return
SumError()(x)[0]
69
70
### from layer.py
71
class
SumErrorLayer(Layer):
Callers
1
forward
Method · 0.70
Calls
1
SumError
Class · 0.70
Tested by
no test coverage detected