pub struct RefitWeights {
pub name: String,
pub bytes: Vec<u8>,
pub dtype: DataType,
}Expand description
Descriptor of a single weight blob to push into the engine via
the refitter. The pointer / device pointer is not held inside
the message; instead callers pass a host-side blob (refitter
stages it). Future variants can add a DevicePtr tag if direct
device-to-device refit is desired.
Fields§
§name: String§bytes: Vec<u8>§dtype: DataTypeAuto Trait Implementations§
impl Freeze for RefitWeights
impl RefUnwindSafe for RefitWeights
impl Send for RefitWeights
impl Sync for RefitWeights
impl Unpin for RefitWeights
impl UnsafeUnpin for RefitWeights
impl UnwindSafe for RefitWeights
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