pub struct DeviceMemoryReport {
pub entries: Vec<DeviceMemoryEntry>,
pub hyperparams: DeviceMemoryHyperParams,
}Expand description
Result of get_device_memory_data.
Fields§
§entries: Vec<DeviceMemoryEntry>Per-device memory breakdown (one entry per backend device).
hyperparams: DeviceMemoryHyperParamsHyper-parameters read from the checkpoint during estimation.
Trait Implementations§
Source§impl Clone for DeviceMemoryReport
impl Clone for DeviceMemoryReport
Source§fn clone(&self) -> DeviceMemoryReport
fn clone(&self) -> DeviceMemoryReport
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 moreSource§impl Debug for DeviceMemoryReport
impl Debug for DeviceMemoryReport
impl Eq for DeviceMemoryReport
Source§impl PartialEq for DeviceMemoryReport
impl PartialEq for DeviceMemoryReport
Source§fn eq(&self, other: &DeviceMemoryReport) -> bool
fn eq(&self, other: &DeviceMemoryReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceMemoryReport
Auto Trait Implementations§
impl Freeze for DeviceMemoryReport
impl RefUnwindSafe for DeviceMemoryReport
impl Send for DeviceMemoryReport
impl Sync for DeviceMemoryReport
impl Unpin for DeviceMemoryReport
impl UnsafeUnpin for DeviceMemoryReport
impl UnwindSafe for DeviceMemoryReport
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