std :: ml::gpu_cuda
Function std::cuda_half_sgd
int cuda_half_sgd(struct CudaHalfBuf w, struct CudaHalfBuf g, float lr)w = round(w - lr * g)
std :: ml::gpu_cuda
int cuda_half_sgd(struct CudaHalfBuf w, struct CudaHalfBuf g, float lr)w = round(w - lr * g)