ggml_graph_get_grad method

Pointer<ggml_tensor> ggml_graph_get_grad(
  1. Pointer<ggml_cgraph> cgraph,
  2. Pointer<ggml_tensor> node
)

General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Implementation

ffi.Pointer<ggml_tensor> ggml_graph_get_grad(
  ffi.Pointer<ggml_cgraph> cgraph,
  ffi.Pointer<ggml_tensor> node,
) {
  return _ggml_graph_get_grad(cgraph, node);
}