MCPcopy Index your code
hub / github.com/MultiPath/CopyNet / logSumExp

Function logSumExp

emolga/utils/theano_utils.py:87–118  ·  view source on GitHub ↗

Numerically stable log(sum(exp(A))). Can also be used in softmax function. c is the additional input when it doesn't require masking but x need.

(x, axis=None, mask=None, status='theano', c=None, err=1e-7)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

__call__Method · 0.85
__call__Method · 0.85
compile_trainMethod · 0.85
evaluate_Method · 0.85
compile_train_CEMethod · 0.85
compile_trainMethod · 0.85
compile_trainMethod · 0.85
compile_trainMethod · 0.85
compile_trainMethod · 0.85
_recurrenceMethod · 0.85
_step_sampleMethod · 0.85
build_decoderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected