std1.0.0-beta-7 SafeC docs

std :: ml::gpu_cuda

Function std::cuda_half_sgd

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

int cuda_half_sgd(struct CudaHalfBuf w, struct CudaHalfBuf g, float lr)

w = round(w - lr * g)