pub enum NonPageableReason {
InlineTensor,
UnsupportedLayoutVersion(u32),
NotExpertMajor,
ShapeMismatch {
expected: Vec<usize>,
actual: Vec<usize>,
},
InvalidQuantization(String),
Range(String),
ExternalLengthMismatch {
expected: usize,
actual: usize,
},
}Expand description
Why an external tensor cannot use the expert paging path.
Variants§
InlineTensor
UnsupportedLayoutVersion(u32)
NotExpertMajor
ShapeMismatch
InvalidQuantization(String)
Range(String)
ExternalLengthMismatch
Trait Implementations§
Source§impl Clone for NonPageableReason
impl Clone for NonPageableReason
Source§fn clone(&self) -> NonPageableReason
fn clone(&self) -> NonPageableReason
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 NonPageableReason
impl Debug for NonPageableReason
impl Eq for NonPageableReason
Source§impl PartialEq for NonPageableReason
impl PartialEq for NonPageableReason
impl StructuralPartialEq for NonPageableReason
Auto Trait Implementations§
impl Freeze for NonPageableReason
impl RefUnwindSafe for NonPageableReason
impl Send for NonPageableReason
impl Sync for NonPageableReason
impl Unpin for NonPageableReason
impl UnsafeUnpin for NonPageableReason
impl UnwindSafe for NonPageableReason
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