Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xadupre committed Jun 11, 2024
1 parent f83b674 commit 960791b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions operators/cuda/mul_sigmoid.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

namespace contrib {

/**
* MulSigmoid(X) = X * Sigmoid(X)
*/
template <typename T>
struct MulSigmoid {
template <typename TDict>
Expand All @@ -31,6 +34,9 @@ struct MulSigmoid {
}
};

/**
* MulSigmoid(X, Y) = X * Y * Sigmoid(Y)
*/
template <typename T>
struct MulMulSigmoid {
template <typename TDict>
Expand Down

0 comments on commit 960791b

Please sign in to comment.