pub struct CliExecutor { /* private fields */ }Expand description
CLI executor that wraps backend executors
Implementations§
Source§impl CliExecutor
impl CliExecutor
Sourcepub fn new(config: ExecutionConfig) -> Result<Self>
pub fn new(config: ExecutionConfig) -> Result<Self>
Create new executor with configuration
Sourcepub fn execute(&self, graph: &EinsumGraph) -> Result<ExecutionResult>
pub fn execute(&self, graph: &EinsumGraph) -> Result<ExecutionResult>
Execute graph with auto-generated input tensors
Auto Trait Implementations§
impl Freeze for CliExecutor
impl RefUnwindSafe for CliExecutor
impl Send for CliExecutor
impl Sync for CliExecutor
impl Unpin for CliExecutor
impl UnwindSafe for CliExecutor
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
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