powered by
Apply activation function
nn_apply_activation(ctx, tensor, activation)
A ggml_tensor with the activation applied, or tensor unchanged when activation is NULL.
ggml_tensor
tensor
activation
NULL