Skip to main content

train_step_rmsprop

Function train_step_rmsprop 

Source
pub fn train_step_rmsprop(
    graph: &mut Graph,
    optimizer: &mut RmsProp,
    prediction: NodeId,
    target: NodeId,
    trainable_nodes: &[NodeId],
) -> Result<f32, ModelError>
Expand description

Runs one full train step: loss forward, backward, and RMSProp updates.