std1.0.0-beta-7 SafeC docs

std :: ml::gpu_rocm

Function std::rocm_sgd

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

int rocm_sgd(struct RocmBuf w, struct RocmBuf g, float lr)

w -= lr * g, in place