[−][src]Trait auto_diff::op::Op
Required methods
fn get_name(&self) -> &str
fn apply(
&mut self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
&mut 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(
&mut self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
[src]
&mut 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(
&mut self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
[src]
&mut 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(
&mut self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
[src]
&mut 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(
&mut self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)
[src]
&mut self,
input: &Vec<Rc<RefCell<Tensor>>>,
output: &mut Vec<Rc<RefCell<Tensor>>>
)