pub struct SemanticSelectedTrainingView { /* private fields */ }Expand description
Retained native result of device selection. The views are fixed-capacity CUDA ports; the resident selection record supplies their logical extent.
Implementations§
Source§impl SemanticSelectedTrainingView
impl SemanticSelectedTrainingView
pub fn capacity(&self) -> usize
pub fn row_count(&self) -> usize
pub fn selection(&self) -> DeviceMemoryView<SemanticTrainingViewSelection>
pub fn roster_rows(&self) -> DeviceMemoryView<SemanticTrainingRosterRow>
pub fn token_ids(&self) -> DeviceMemoryView<i64>
pub fn mask_labels(&self) -> DeviceMemoryView<i64>
pub fn mask_weights(&self) -> DeviceMemoryView<f32>
pub fn ar_labels(&self) -> DeviceMemoryView<i64>
pub fn retention_labels(&self) -> DeviceMemoryView<i64>
pub fn branch_labels(&self) -> DeviceMemoryView<i64>
pub fn branch_ids(&self) -> DeviceMemoryView<i64>
pub fn source_slots(&self) -> DeviceMemoryView<i64>
pub fn logical_positions(&self) -> DeviceMemoryView<i64>
pub fn kinds(&self) -> DeviceMemoryView<i64>
pub fn parents(&self) -> DeviceMemoryView<i64>
Auto Trait Implementations§
impl !RefUnwindSafe for SemanticSelectedTrainingView
impl !UnwindSafe for SemanticSelectedTrainingView
impl Freeze for SemanticSelectedTrainingView
impl Send for SemanticSelectedTrainingView
impl Sync for SemanticSelectedTrainingView
impl Unpin for SemanticSelectedTrainingView
impl UnsafeUnpin for SemanticSelectedTrainingView
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