std1.0.0-beta-7 SafeC docs

std :: ml::gpu_cuda

Function std::cuda_gelu

#include <std/ml/gpu_cuda.h> source ยท definition

int cuda_gelu(struct CudaBuf a, struct CudaBuf out)

tanh approximation (gelu_pytorch_tanh)