pub struct ProviderAdamUpdateResult {
pub parameters: GpuTensorHandle,
pub average_grad: GpuTensorHandle,
pub average_sq_grad: GpuTensorHandle,
}Expand description
Provider-side Adam optimizer update result.
Fields§
§parameters: GpuTensorHandle§average_grad: GpuTensorHandle§average_sq_grad: GpuTensorHandleTrait Implementations§
Source§impl Clone for ProviderAdamUpdateResult
impl Clone for ProviderAdamUpdateResult
Source§fn clone(&self) -> ProviderAdamUpdateResult
fn clone(&self) -> ProviderAdamUpdateResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProviderAdamUpdateResult
impl RefUnwindSafe for ProviderAdamUpdateResult
impl Send for ProviderAdamUpdateResult
impl Sync for ProviderAdamUpdateResult
impl Unpin for ProviderAdamUpdateResult
impl UnsafeUnpin for ProviderAdamUpdateResult
impl UnwindSafe for ProviderAdamUpdateResult
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