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.
pub trait OpCall {
// Required method
fn call(&mut self, inputs: &[&Var]) -> Result<Vec<Var>, AutoDiffError>;
}
Ops that first created, then called needs to follow this behavior.