integrate the xlogx file into tensor ops
Make optimizations that insert this Op for all instances of x* log(x). Also replace y * log(x) with the related op.
Numpy implements numpy.log(0)* 0 == NaN and that's not what we want in this case.
This optimization is required for the tutorials.
Numpy implements numpy.log(0)* 0 == NaN and that's not what we want in this case.
This optimization is required for the tutorials.
Leave a comment
We decided that from a mathematical point of you replacing y* log(x) does not make sense (which was actually what we need). x * log(x) makes sense but is rarely needed, so we decided to postpone it for some other time until it becomes evident where we need it.