Struct dfdx::optim::UnusedTensors
source · pub struct UnusedTensors {
pub ids: Vec<UniqueId>,
}
Expand description
Holds UniqueId of tensors that were missing gradients during update, and therefore are unused
Fields§
§ids: Vec<UniqueId>
Implementations§
Trait Implementations§
source§impl Debug for UnusedTensors
impl Debug for UnusedTensors
source§impl Default for UnusedTensors
impl Default for UnusedTensors
source§fn default() -> UnusedTensors
fn default() -> UnusedTensors
Returns the “default value” for a type. Read more
source§impl<Err> Into<Result<(), OptimizerUpdateError<Err>>> for UnusedTensors
impl<Err> Into<Result<(), OptimizerUpdateError<Err>>> for UnusedTensors
Auto Trait Implementations§
impl RefUnwindSafe for UnusedTensors
impl Send for UnusedTensors
impl Sync for UnusedTensors
impl Unpin for UnusedTensors
impl UnwindSafe for UnusedTensors
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