pub struct MetaTask {
pub support_x: Array2<f64>,
pub support_y: Array2<f64>,
pub query_x: Array2<f64>,
pub query_y: Array2<f64>,
}Expand description
Meta-learning task representation.
Each task consists of a support set (for adaptation) and a query set (for evaluation).
Fields§
§support_x: Array2<f64>Support set features (for training/adaptation).
support_y: Array2<f64>Support set labels.
query_x: Array2<f64>Query set features (for evaluation).
query_y: Array2<f64>Query set labels.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaTask
impl RefUnwindSafe for MetaTask
impl Send for MetaTask
impl Sync for MetaTask
impl Unpin for MetaTask
impl UnwindSafe for MetaTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more