std1.0.0-beta-7 SafeC docs

std :: ml::gpu_cuda

Function std::cuda_sgd

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

int cuda_sgd(struct CudaBuf w, struct CudaBuf g, float lr)

w -= lr * g, in place