pub struct LiveInterval {
pub start: usize,
pub end: usize,
pub size_bytes: usize,
}Expand description
The liveness interval (first-use to last-use) of a tensor.
Fields§
§start: usizeIndex of the first statement that uses this tensor.
end: usizeIndex of the last statement that uses this tensor.
size_bytes: usizeSize of the tensor in bytes.
Trait Implementations§
Source§impl Clone for LiveInterval
impl Clone for LiveInterval
Source§fn clone(&self) -> LiveInterval
fn clone(&self) -> LiveInterval
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 LiveInterval
impl Debug for LiveInterval
impl Eq for LiveInterval
Source§impl PartialEq for LiveInterval
impl PartialEq for LiveInterval
impl StructuralPartialEq for LiveInterval
Auto Trait Implementations§
impl Freeze for LiveInterval
impl RefUnwindSafe for LiveInterval
impl Send for LiveInterval
impl Sync for LiveInterval
impl Unpin for LiveInterval
impl UnsafeUnpin for LiveInterval
impl UnwindSafe for LiveInterval
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