Description Usage Arguments Value
View source: R/optimizers_free.R
Update the (expected) value of the objective function in an 'adaQN_free' object, after it has been requested by the optimizer (do NOT update it otherwise).
1 | update_fun(optimizer, fun)
|
optimizer |
An 'adaQN_free' object which after the last run had requested a new function evaluation. |
fun |
Function as evaluated (in expectation) on the values of 'x' that were returned in the request. |
No return value (object is updated in-place).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.