View source: R/kerasnip_spec_methods.R
| set_args.kerasnip_spec | R Documentation |
S3 method for set_args() dispatched on kerasnip_spec objects.
parsnip::set_args.model_spec() calls new_model_spec(), which strips any
extra classes and attributes. This wrapper saves and re-attaches the
kerasnip_layer_blocks and kerasnip_functional metadata attributes (and
the kerasnip_spec class) after NextMethod() has done its work.
## S3 method for class 'kerasnip_spec'
set_args(object, ...)
object |
A |
... |
Named model arguments to update, passed to
|
A model_spec object with the kerasnip_spec class and metadata
attributes re-attached.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.