Skip to content

Commit

Permalink
ADD: add tanh to header
Browse files Browse the repository at this point in the history
  • Loading branch information
T-K-233 committed Oct 15, 2024
1 parent b2ce84a commit 3ca85dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nn/nn.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ void nn_relu2d_f16(Tensor2D_F16 *y, const Tensor2D_F16 *x);
void nn_relu2d_f32(Tensor2D_F32 *y, const Tensor2D_F32 *x);


void nn_tanh2d_f16(Tensor2D_F16 *y, const Tensor2D_F16 *x);

void nn_tanh2d_f32(Tensor2D_F32 *y, const Tensor2D_F32 *x);


void nn_max1d_f16(Tensor0D_F16 *y, const Tensor1D_F16 *x);

void nn_max1d_f32(Tensor0D_F32 *y, const Tensor1D_F32 *x);
Expand Down

0 comments on commit 3ca85dc

Please sign in to comment.