pub struct Asin { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Asin
impl<'de> Deserialize<'de> for Asin
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl OpTrait for Asin
impl OpTrait for Asin
Source§fn get_input_size(&self) -> usize
fn get_input_size(&self) -> usize
The number of input needs by this op.
Source§fn get_output_size(&self) -> usize
fn get_output_size(&self) -> usize
The number of output produced by this op.
Source§fn grad(&self, input: &[Tensor], output_grad: &[Tensor], input_grad: &[Tensor])
fn grad(&self, input: &[Tensor], output_grad: &[Tensor], input_grad: &[Tensor])
Given the forward input value and backward output_grad,
Update weight gradient.
return backward input gradeint.
Source§fn get_values(&self) -> Vec<Tensor>
fn get_values(&self) -> Vec<Tensor>
access weight values
fn set_values(&self, _v: &[Tensor])
fn as_any(&self) -> &dyn Any
Auto Trait Implementations§
impl Freeze for Asin
impl !RefUnwindSafe for Asin
impl !Send for Asin
impl !Sync for Asin
impl Unpin for Asin
impl !UnwindSafe for Asin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more