Struct burn_core::nn::cache::TensorCache
source · pub struct TensorCache<B: Backend, const D: usize> { /* private fields */ }Expand description
A cache for a tensor.
Implementations§
Auto Trait Implementations§
impl<B, const D: usize> RefUnwindSafe for TensorCache<B, D>
impl<B, const D: usize> Send for TensorCache<B, D>
impl<B, const D: usize> Sync for TensorCache<B, D>
impl<B, const D: usize> Unpin for TensorCache<B, D>
impl<B, const D: usize> UnwindSafe for TensorCache<B, D>
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