pub struct TensorId(/* private fields */);Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TensorId
impl<'de> Deserialize<'de> for TensorId
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<T> Index<&TensorId> for TensorGrad<T>
impl<T> Index<&TensorId> for TensorGrad<T>
Source§impl<T> IndexMut<&TensorId> for TensorGrad<T>
impl<T> IndexMut<&TensorId> for TensorGrad<T>
Source§impl Ord for TensorId
impl Ord for TensorId
Source§impl PartialOrd for TensorId
impl PartialOrd for TensorId
Source§impl<T> Store<TensorId, TensorBase<T>> for TensorGrad<T>
impl<T> Store<TensorId, TensorBase<T>> for TensorGrad<T>
fn get(&self, key: &TensorId) -> Option<&TensorBase<T>>
fn get_mut(&mut self, key: &TensorId) -> Option<&mut TensorBase<T>>
fn insert( &mut self, key: TensorId, value: TensorBase<T>, ) -> Option<TensorBase<T>>
fn remove(&mut self, key: &TensorId) -> Option<TensorBase<T>>
impl Copy for TensorId
impl Eq for TensorId
impl StructuralPartialEq for TensorId
Auto Trait Implementations§
impl Freeze for TensorId
impl RefUnwindSafe for TensorId
impl Send for TensorId
impl Sync for TensorId
impl Unpin for TensorId
impl UnwindSafe for TensorId
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