pub struct SessionCreate {
pub provider: &'static str,
pub graph_tokens: usize,
pub duration: Duration,
}Expand description
One graph build during an E40 load.
Fields§
§provider: &'static strProvider the graph was built on: "directml" or "cpu" (the parity reference).
graph_tokens: usizeLength of the graph (32, 64, 128, 256 or 512 tokens).
duration: DurationTime build_from_file took.
Trait Implementations§
Source§impl Clone for SessionCreate
impl Clone for SessionCreate
impl Copy for SessionCreate
Source§impl Debug for SessionCreate
impl Debug for SessionCreate
impl Eq for SessionCreate
Source§impl PartialEq for SessionCreate
impl PartialEq for SessionCreate
impl StructuralPartialEq for SessionCreate
Auto Trait Implementations§
impl Freeze for SessionCreate
impl RefUnwindSafe for SessionCreate
impl Send for SessionCreate
impl Sync for SessionCreate
impl Unpin for SessionCreate
impl UnsafeUnpin for SessionCreate
impl UnwindSafe for SessionCreate
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
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,
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