pub struct BondReport {
pub peak: usize,
pub cap: usize,
}Expand description
Peak bond dimension an MPS run kept, beside the cap it ran under.
peak is the widest bond any cut wrote over the whole run, after
truncation, so it never exceeds cap. A run that reached the cap was bound
by it; one that stayed under it truncated nothing on the cap’s account.
Fields§
§peak: usize§cap: usizeImplementations§
Trait Implementations§
Source§impl Clone for BondReport
impl Clone for BondReport
impl Copy for BondReport
Source§impl Debug for BondReport
impl Debug for BondReport
impl Eq for BondReport
Source§impl PartialEq for BondReport
impl PartialEq for BondReport
impl StructuralPartialEq for BondReport
Auto Trait Implementations§
impl Freeze for BondReport
impl RefUnwindSafe for BondReport
impl Send for BondReport
impl Sync for BondReport
impl Unpin for BondReport
impl UnsafeUnpin for BondReport
impl UnwindSafe for BondReport
Blanket Implementations§
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more