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

Class SoftMax

python/singa/layer.py:1464–1473  ·  view source on GitHub ↗

Generate a SoftMax operator

Source from the content-addressed store, hash-verified

1462
1463
1464class SoftMax(Layer):
1465 """
1466 Generate a SoftMax operator
1467 """
1468
1469 def __init__(self):
1470 super(SoftMax, self).__init__()
1471
1472 def forward(self, x):
1473 return autograd.softmax(x)
1474
1475
1476class MeanSquareError(Layer):

Callers 1

TEST_FFunction · 0.50

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.40