pub struct MaskResult {
pub masked_features: Vec<Vec<f32>>,
pub mask_indices: Vec<usize>,
}Expand description
Result of masking node features.
Fields§
§masked_features: Vec<Vec<f32>>Features after masking (mask token substituted).
mask_indices: Vec<usize>Indices of masked nodes.
Trait Implementations§
Source§impl Clone for MaskResult
impl Clone for MaskResult
Source§fn clone(&self) -> MaskResult
fn clone(&self) -> MaskResult
Returns a duplicate of the value. Read more
1.0.0 · 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 MaskResult
impl RefUnwindSafe for MaskResult
impl Send for MaskResult
impl Sync for MaskResult
impl Unpin for MaskResult
impl UnsafeUnpin for MaskResult
impl UnwindSafe for MaskResult
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