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

Class Sigmoid

python/singa/layer.py:1415–1424  ·  view source on GitHub ↗

Generate a ReLU operator

Source from the content-addressed store, hash-verified

1413
1414
1415class Sigmoid(Layer):
1416 """
1417 Generate a ReLU operator
1418 """
1419
1420 def __init__(self):
1421 super(Sigmoid, self).__init__()
1422
1423 def forward(self, x):
1424 return autograd.sigmoid(x)
1425
1426
1427class Add(Layer):

Callers 2

TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.40
TEST_FFunction · 0.40