pub enum KernelMatch {
Supported {
cost: Cost,
required_input_layouts: Option<Vec<TensorLayout>>,
output_layouts: Vec<TensorLayout>,
},
Unsupported,
}Expand description
Result of crate::ExecutionProvider::supports_op.
Variants§
Supported
Fields
§
required_input_layouts: Option<Vec<TensorLayout>>Layouts the kernel requires for each input, if constrained.
§
output_layouts: Vec<TensorLayout>Layouts the kernel produces for each output.
Unsupported
Implementations§
Source§impl KernelMatch
impl KernelMatch
Sourcepub fn is_supported(&self) -> bool
pub fn is_supported(&self) -> bool
Whether the op is supported.
Auto Trait Implementations§
impl Freeze for KernelMatch
impl RefUnwindSafe for KernelMatch
impl Send for KernelMatch
impl Sync for KernelMatch
impl Unpin for KernelMatch
impl UnsafeUnpin for KernelMatch
impl UnwindSafe for KernelMatch
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