Reset the state for a model, layer or metric.
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 alayer_dense()does not). Calling this on a Layer instance without any resettable-state will error.
See also
Other layer methods: count_params() get_config() get_weights() quantize_weights()