Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
wschin authored Jun 12, 2024
1 parent 960791b commit 86a506c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion operators/cuda/mul_sigmoid.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ namespace contrib {

/**
* MulSigmoid(X) = X * Sigmoid(X)
No shape broadcasting supported.
*/
template <typename T>
struct MulSigmoid {
Expand All @@ -36,6 +38,8 @@ struct MulSigmoid {

/**
* MulSigmoid(X, Y) = X * Y * Sigmoid(Y)
No shape broadcasting supported.
*/
template <typename T>
struct MulMulSigmoid {
Expand Down Expand Up @@ -65,4 +69,4 @@ struct MulMulSigmoid {
}
};

} // namespace contrib
} // namespace contrib

0 comments on commit 86a506c

Please sign in to comment.