| ag_param | R Documentation |
Create a parameter tensor (gradient tracked)
ag_param(
data,
device = .ag_device_state$device,
dtype = .ag_device_state$dtype
)
data |
Numeric matrix or vector |
device |
|
dtype |
Floating-point precision: |
An ag_tensor with requires_grad = TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.