Converts an object to a TorchOptimizer
.
Arguments
- x
(any)
Object to convert to aTorchOptimizer
.- clone
(
logical(1)
)
Whether to make a deep clone. Default isFALSE
.- ...
(any)
Additional arguments. Currently used to pass additional constructor arguments toTorchOptimizer
for objects of typetorch_optimizer_generator
.
See also
Other Torch Descriptor:
TorchCallback
,
TorchDescriptor
,
TorchLoss
,
TorchOptimizer
,
as_torch_callbacks()
,
as_torch_loss()
,
mlr3torch_losses
,
mlr3torch_optimizers
,
t_clbk()
,
t_loss()
,
t_opt()