crossentropy

Updated:

Description

crossentropy is defined as $$-\sum x_i\log(y_i)$$. Read more on Wikipedias article on cross entropty.

Syntax

z = crossentropy(x,y)


Implementation

The operator is implemented as a callback operator.