reset_state {keras3}R Documentation

Reset the state for a model, layer or metric.

Description

Reset the state for a model, layer or metric.

Usage

reset_state(object)

Arguments

object

Model, Layer, or Metric instance

Not all Layers have resettable state (E.g., adapt()-able preprocessing layers and rnn layers have resettable state, but a layer_dense() does not). Calling this on a Layer instance without any resettable-state will error.

Value

object, invisibly.

See Also

Other layer methods:
count_params()
get_config()
get_weights()
quantize_weights()


[Package keras3 version 1.0.0 Index]