Trait OpCall

Source
pub trait OpCall {
    // Required method
    fn call(&mut self, inputs: &[&Var]) -> Result<Vec<Var>, AutoDiffError>;
}
Expand description

Ops that first created, then called needs to follow this behavior.

Required Methods§

Source

fn call(&mut self, inputs: &[&Var]) -> Result<Vec<Var>, AutoDiffError>

Implementors§