Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
add small note for computation
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitij12345 committed Jul 11, 2019
1 parent df3551b commit 4c45f2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/operator/tensor/elemwise_unary_op_trig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ MXNET_OPERATOR_REGISTER_BINARY_WITH_SPARSE_CPU_DR(_backward_arccos,
// f(x) = arccos(x)
// n: f'(x) = -1/(1-x^2)^1/2
// f''(x) = f'(x) * x/(1-x^2)
// Note: x/(1-x^2) = x * f'(x)^2
auto dydx = n->inputs[0];
auto x = n->inputs[1];
auto dydx_mul_grad_x = nnvm::NodeEntry{n};
Expand Down

0 comments on commit 4c45f2f

Please sign in to comment.