Skip to contents

This function will be called after an instance is built. User input will be stored in the environment.

Usage

KERAS_WRAPPER$..init..(keras_mod = NULL, node_index = 1L)

Arguments

keras_mod

Keras model. A trained computer vision model.

node_index

Integer. An index indicating which node of the output layer contains the visual signal strength. This is particularly useful when the keras model has more than one output nodes.

Value

Return the object itself.

Examples

keras_wrapper()
#> 
#> ── <KERAS_WRAPPER object>
#> Status:
#>  - Keras model: UNKNOWN
#>     - Output node index: 1