MCPcopy Create free account
hub / github.com/apache/singa / SumErrorLayer

Class SumErrorLayer

examples/cnn_ms/msmlp/model.py:74–83  ·  view source on GitHub ↗

Generate a MeanSquareError operator

Source from the content-addressed store, hash-verified

72
73### from layer.py
74class SumErrorLayer(Layer):
75 """
76 Generate a MeanSquareError operator
77 """
78
79 def __init__(self):
80 super(SumErrorLayer, self).__init__()
81
82 def forward(self, x):
83 return se_loss(x)
84
85
86#### self-defined loss end

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected