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

Function sum

python/singa/autograd.py:1144–1152  ·  view source on GitHub ↗

Element-wise sum of each of the input tensors Args: l (a list of Tensor): element-wise sum operator Returns: a Tensor for the result

(*l)

Source from the content-addressed store, hash-verified

1142
1143
1144def sum(*l):
1145 """
1146 Element-wise sum of each of the input tensors
1147 Args:
1148 l (a list of Tensor): element-wise sum operator
1149 Returns:
1150 a Tensor for the result
1151 """
1152 return Sum()(*l)[0]
1153
1154
1155class BinaryCrossEntropy(Operator):

Callers

nothing calls this directly

Calls 1

SumClass · 0.70

Tested by

no test coverage detected