pub struct WarmupShape {
pub input_name: String,
pub shape: Vec<usize>,
}Expand description
A shape to pre-compile kernels for at session init (§11.3).
Fields§
§input_name: String§shape: Vec<usize>Trait Implementations§
Source§impl Clone for WarmupShape
impl Clone for WarmupShape
Source§fn clone(&self) -> WarmupShape
fn clone(&self) -> WarmupShape
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 moreAuto Trait Implementations§
impl Freeze for WarmupShape
impl RefUnwindSafe for WarmupShape
impl Send for WarmupShape
impl Sync for WarmupShape
impl Unpin for WarmupShape
impl UnsafeUnpin for WarmupShape
impl UnwindSafe for WarmupShape
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