pub struct StepState {
pub tensor_count: usize,
pub node_count: usize,
pub domain_count: usize,
pub bound_vars: usize,
pub axis_assignments: usize,
pub metadata: HashMap<String, String>,
}Expand description
Snapshot of compiler state at a specific step.
Fields§
§tensor_count: usizeNumber of tensors in the graph
node_count: usizeNumber of nodes in the graph
domain_count: usizeNumber of domains defined
bound_vars: usizeNumber of bound variables
axis_assignments: usizeNumber of axis assignments
metadata: HashMap<String, String>Additional custom data
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StepState
impl RefUnwindSafe for StepState
impl Send for StepState
impl Sync for StepState
impl Unpin for StepState
impl UnwindSafe for StepState
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