View source: R/ag_backward_graph.R
| ag_backward_fallbacks | R Documentation |
Each time backward() could have run as one graph but fell back to the
R closures, the reason is counted here: an unsupported op on the tape, a
compute dtype other than f32, or an error inside the graph path (which strict
mode, GGMLR_AG_BWD_STRICT=1, raises instead). Gradients are correct
either way; a fallback costs speed.
ag_backward_fallbacks(reset = FALSE)
reset |
|
A named numeric vector: reason -> number of backward() calls.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.