pub struct EmbeddingBackwardDescription {
pub weights: TensorDescription,
pub out_grad: TensorDescription,
pub indices: TensorDescription,
pub out: TensorDescription,
}Available on crate feature
repr only.Fields§
§weights: TensorDescription§out_grad: TensorDescription§indices: TensorDescription§out: TensorDescriptionTrait Implementations§
Source§impl Clone for EmbeddingBackwardDescription
impl Clone for EmbeddingBackwardDescription
Source§fn clone(&self) -> EmbeddingBackwardDescription
fn clone(&self) -> EmbeddingBackwardDescription
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 EmbeddingBackwardDescription
impl Debug for EmbeddingBackwardDescription
Source§impl<'de> Deserialize<'de> for EmbeddingBackwardDescription
impl<'de> Deserialize<'de> for EmbeddingBackwardDescription
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 Hash for EmbeddingBackwardDescription
impl Hash for EmbeddingBackwardDescription
Source§impl PartialEq for EmbeddingBackwardDescription
impl PartialEq for EmbeddingBackwardDescription
Source§fn eq(&self, other: &EmbeddingBackwardDescription) -> bool
fn eq(&self, other: &EmbeddingBackwardDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EmbeddingBackwardDescription
Auto Trait Implementations§
impl Freeze for EmbeddingBackwardDescription
impl RefUnwindSafe for EmbeddingBackwardDescription
impl Send for EmbeddingBackwardDescription
impl Sync for EmbeddingBackwardDescription
impl Unpin for EmbeddingBackwardDescription
impl UnwindSafe for EmbeddingBackwardDescription
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)