#pragma once #include "operators/unary.h" namespace infini { template void softmax_kernel(T *input, T *output, size_t num); template void relu_kernel(T *input, T *output, size_t num); template void silu_kernel(T *input, T *output, size_t num); template void sigmoid_kernel(T *input, T *output, size_t num); template void tanh_kernel(T *input, T *output, size_t num); template void abs_kernel(T *input, T *output, size_t num); template void sqrt_kernel(T *input, T *output, size_t num); template void neg_kernel(T *input, T *output, size_t num); template void gelu_kernel(T *input, T *output, size_t num); template void erf_kernel(T *input, T *output, size_t num); template void hard_sigmoid_kernel(T *input, T *output, size_t num); template void hard_swish_kernel(T *input, T *output, size_t num); template void cast_kernel(INPUT *input, OUTPUT *output, size_t num); void unary_kernel(const Operator &_op); }; // namespace infini