Skip to contents

This is the class of keras wrapper, inherited from bandicoot::BASE. It is an environment with S3 class bandicoot_oop.

Usage

keras_wrapper(
  keras_model = NULL,
  node_index = 1L,
  env = new.env(parent = parent.frame()),
  init_call = sys.call()
)

Arguments

keras_model

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.

env

Environment. The instance environment.

init_call

Call. Contents of the ..init_call... It is recommended to leave it as default.

Value

An instance environment.

Functions

  • keras_wrapper(): Class constructor, same as KERAS_WRAPPER$instantiate().