pub struct TensorStudySolver { /* private fields */ }Expand description
Study solver that preselects CPU or executes one resident Tensor plan.
Implementations§
Source§impl TensorStudySolver
impl TensorStudySolver
Sourcepub fn new(config: TensorStudyConfig) -> Self
pub fn new(config: TensorStudyConfig) -> Self
Builds a Tensor study solver from explicit routing settings.
Sourcepub fn snapshot(&self) -> TensorStudySnapshot
pub fn snapshot(&self) -> TensorStudySnapshot
Returns a stable snapshot of routing outcomes.
Trait Implementations§
Source§impl Clone for TensorStudySolver
impl Clone for TensorStudySolver
Source§fn clone(&self) -> TensorStudySolver
fn clone(&self) -> TensorStudySolver
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 Default for TensorStudySolver
impl Default for TensorStudySolver
Source§impl StudySolver for TensorStudySolver
impl StudySolver for TensorStudySolver
Source§fn solve(
&self,
cx: &mut Cx,
request: &SolveRequest<'_>,
) -> Result<InterferenceStudy>
fn solve( &self, cx: &mut Cx, request: &SolveRequest<'_>, ) -> Result<InterferenceStudy>
Solves one admitted request or returns no partial study.
Auto Trait Implementations§
impl Freeze for TensorStudySolver
impl RefUnwindSafe for TensorStudySolver
impl Send for TensorStudySolver
impl Sync for TensorStudySolver
impl Unpin for TensorStudySolver
impl UnsafeUnpin for TensorStudySolver
impl UnwindSafe for TensorStudySolver
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