Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches

◆ nn_tanh2d_f32()

void nn_tanh2d_f32 ( Tensor2D_F32 y,
const Tensor2D_F32 x 
)

Applies the tanh activation function to a 2D floating-point tensor.

nn_tanh2d_f32

y[i][j] = tanh(x[i][j])