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

Class Add

python/singa/layer.py:1427–1436  ·  view source on GitHub ↗

Generate a Add operator

Source from the content-addressed store, hash-verified

1425
1426
1427class Add(Layer):
1428 """
1429 Generate a Add operator
1430 """
1431
1432 def __init__(self):
1433 super(Add, self).__init__()
1434
1435 def forward(self, a, b):
1436 return autograd.add(a, b)
1437
1438
1439class Flatten(Layer):

Callers 3

TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40