reset_states_cb: Reset states callback

View source: R/callbacks.R

reset_states_cbR Documentation

Reset states callback

Description

Reset states at start/end of validation and whenever file changes. Can be used for stateful LSTM.

Usage

reset_states_cb(path_file_log, path_file_logVal)

Arguments

path_file_log

Path to log of training files.

path_file_logVal

Path to log of validation files.

Value

A keras callback that resets states of LSTM layers.

Examples


rs <- reset_states_cb(path_file_log = tempfile(), path_file_logVal = tempfile())


GenomeNet/deepG documentation built on Dec. 24, 2024, 12:11 p.m.