MCPcopy Index your code
hub / github.com/hyperopt/hyperopt / sum

Function sum

hyperopt/pyll/base.py:995–999  ·  view source on GitHub ↗
(x, axis=None)

Source from the content-addressed store, hash-verified

993
994@scope.define_pure
995def sum(x, axis=None):
996 if axis is None:
997 return np.sum(x)
998 else:
999 return np.sum(x, axis=axis)
1000
1001
1002@scope.define_pure

Callers 1

suggestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected