pub struct CacheModels<'a> {
pub teacher: &'a Arc<CmfModel>,
pub student: &'a Arc<CmfModel>,
}Expand description
Files the record path runs through the runtime to build its window cache, when they differ from the training files: e.g. q8_2f copies of the teacher and the student, which the device executes, where an f16 file is expanded to f32 and runs on the host.
Fields§
§teacher: &'a Arc<CmfModel>§student: &'a Arc<CmfModel>Trait Implementations§
Source§impl<'a> Clone for CacheModels<'a>
impl<'a> Clone for CacheModels<'a>
impl<'a> Copy for CacheModels<'a>
Auto Trait Implementations§
impl<'a> Freeze for CacheModels<'a>
impl<'a> RefUnwindSafe for CacheModels<'a>
impl<'a> Send for CacheModels<'a>
impl<'a> Sync for CacheModels<'a>
impl<'a> Unpin for CacheModels<'a>
impl<'a> UnsafeUnpin for CacheModels<'a>
impl<'a> UnwindSafe for CacheModels<'a>
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