Struct rai_core::primitives::LogSoftmax
source · pub struct LogSoftmax {
pub dim: usize,
}
Fields§
§dim: usize
Implementations§
Trait Implementations§
source§impl Clone for LogSoftmax
impl Clone for LogSoftmax
source§fn clone(&self) -> LogSoftmax
fn clone(&self) -> LogSoftmax
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LogSoftmax
impl Debug for LogSoftmax
source§impl<D: Device> Eval<D, LogSoftmax> for CandleBackend
impl<D: Device> Eval<D, LogSoftmax> for CandleBackend
source§impl Hash for LogSoftmax
impl Hash for LogSoftmax
source§impl PartialEq for LogSoftmax
impl PartialEq for LogSoftmax
source§fn eq(&self, other: &LogSoftmax) -> bool
fn eq(&self, other: &LogSoftmax) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Primitive for LogSoftmax
impl Primitive for LogSoftmax
fn clone_boxed(&self) -> Box<dyn Primitive>
fn dot_label(&self) -> String
fn as_any(&self) -> &dyn Any
fn jvp( &self, output: &Tensor, _primals: &[Tensor], tangents: &[Tensor] ) -> Tensor
fn vjp( &self, output: &Tensor, _primals: &[Tensor], cotangent: &Tensor ) -> Vec<Tensor>
impl Eq for LogSoftmax
impl StructuralPartialEq for LogSoftmax
Auto Trait Implementations§
impl Freeze for LogSoftmax
impl RefUnwindSafe for LogSoftmax
impl Send for LogSoftmax
impl Sync for LogSoftmax
impl Unpin for LogSoftmax
impl UnwindSafe for LogSoftmax
Blanket Implementations§
source§impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
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