View source: R/ag_fwd_profile.R
| ag_forward_profile | R Documentation |
Records where each ag_* operation spends its time on the GPU path:
context handling, tensor creation, buffer allocation, operand upload, graph
building, compute, and result download.
ag_forward_profile(on = TRUE)
ag_forward_profile_reset()
ag_forward_profile_report()
on |
'TRUE' to record, 'FALSE' to stop, 'NA' to query. |
The upload and download stages are what a resident forward would remove, so their share is the ceiling for that work – measured rather than estimated.
The previous state, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.