pub struct MemoryEstimate {
pub input_memory: Vec<TensorMemory>,
pub intermediate_memory: Vec<TensorMemory>,
pub output_memory: Vec<TensorMemory>,
pub total_bytes: usize,
pub peak_bytes: usize,
}Expand description
Complete memory profile for graph execution
Fields§
§input_memory: Vec<TensorMemory>§intermediate_memory: Vec<TensorMemory>§output_memory: Vec<TensorMemory>§total_bytes: usize§peak_bytes: usizeImplementations§
Trait Implementations§
Source§impl Clone for MemoryEstimate
impl Clone for MemoryEstimate
Source§fn clone(&self) -> MemoryEstimate
fn clone(&self) -> MemoryEstimate
Returns a duplicate of the value. Read more
1.0.0 · 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 MemoryEstimate
impl Debug for MemoryEstimate
Auto Trait Implementations§
impl Freeze for MemoryEstimate
impl RefUnwindSafe for MemoryEstimate
impl Send for MemoryEstimate
impl Sync for MemoryEstimate
impl Unpin for MemoryEstimate
impl UnwindSafe for MemoryEstimate
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