Description Usage Arguments Details Value
View source: R/keras_layer_to_model.R
Mainly used for testing new custom Keras layers quickly and easily by converting them to custom Keras models, which can be used in tensorflow eager mode
1 | keras_layer_to_model(layer, build_model = FALSE)
|
layer |
Layer to convert to a custom model. Should be an expression, where the layer is invoked with desired parameter values. |
build_model |
Should the built custom model be returned? Or a function that can be used to build the model? Default FALSE. |
Don't forget to set use_implementation("tensorflow")
!
Either a layer or a function to build the layer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.