MCPcopy 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
65def 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
71class SumErrorLayer(Layer):

Callers 1

forwardMethod · 0.70

Calls 1

SumErrorClass · 0.70

Tested by

no test coverage detected