pub struct ShapeInferenceResult {
pub inferred: usize,
pub unknown: usize,
pub warnings: Vec<String>,
}Expand description
Summary of a whole-model shape-inference run.
Fields§
§inferred: usizeValues whose dtype and known-rank shape were resolved.
unknown: usizeValues whose type or shape could not be resolved.
warnings: Vec<String>Non-fatal diagnostics. The underlying engine currently reports
unsupported or data-dependent values through unknown, not warnings.
Trait Implementations§
Source§impl Clone for ShapeInferenceResult
impl Clone for ShapeInferenceResult
Source§fn clone(&self) -> ShapeInferenceResult
fn clone(&self) -> ShapeInferenceResult
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 Debug for ShapeInferenceResult
impl Debug for ShapeInferenceResult
Source§impl Default for ShapeInferenceResult
impl Default for ShapeInferenceResult
Source§fn default() -> ShapeInferenceResult
fn default() -> ShapeInferenceResult
Returns the “default value” for a type. Read more
impl Eq for ShapeInferenceResult
Source§impl PartialEq for ShapeInferenceResult
impl PartialEq for ShapeInferenceResult
impl StructuralPartialEq for ShapeInferenceResult
Auto Trait Implementations§
impl Freeze for ShapeInferenceResult
impl RefUnwindSafe for ShapeInferenceResult
impl Send for ShapeInferenceResult
impl Sync for ShapeInferenceResult
impl Unpin for ShapeInferenceResult
impl UnsafeUnpin for ShapeInferenceResult
impl UnwindSafe for ShapeInferenceResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.