[−][src]Trait auto_diff::op::Op
Required methods
fn get_name(&self) -> &str
fn apply(
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
fn grad(&self, input: u32, output: u32)
Implementors
impl Op for Linear[src]
fn get_name(&self) -> &str[src]
fn apply(
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)[src]
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
fn grad(&self, input: u32, output: u32)[src]
impl Op for add[src]
fn get_name(&self) -> &str[src]
fn apply(
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)[src]
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
fn grad(&self, input: u32, output: u32)[src]
impl Op for div[src]
fn get_name(&self) -> &str[src]
fn apply(
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)[src]
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
fn grad(&self, input: u32, output: u32)[src]
impl Op for mul[src]
fn get_name(&self) -> &str[src]
fn apply(
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)[src]
&self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)