apeforest commented on issue #14992: [MXNET-978] Support higher order gradient for `log`. URL: https://github.com/apache/incubator-mxnet/pull/14992#issuecomment-495414142 > > I do not fully understand your question of 1/log(2.0), 1/log(10.0) multiplied with gradient for log2, log 10. Could you please elaborate? > > Reading it again, I phrased it poorly. Sorry. So actually, plan was to update `gradient` for `log2`, which would be `1/(log(2.0) * x)`, for which I would have required a `log(2.0)`. So how to get that, is scalar multiplication allowed ? or `ones_like` followed by `fill`. > > **Note**: This is not needed for this PR. But curious to know. > > Thank You. Can you just add an elemwise_mul operator node between them?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
