pub struct MetaLearningMultiTaskTrained { /* private fields */ }Expand description
Trained state for MetaLearningMultiTask
Implementations§
Source§impl MetaLearningMultiTaskTrained
impl MetaLearningMultiTaskTrained
Sourcepub fn meta_parameters(&self) -> &Array2<Float>
pub fn meta_parameters(&self) -> &Array2<Float>
Get meta-parameters
Sourcepub fn meta_intercepts(&self) -> &Array1<Float>
pub fn meta_intercepts(&self) -> &Array1<Float>
Get meta-intercepts
Sourcepub fn task_parameters(&self, task_name: &str) -> Option<&Array2<Float>>
pub fn task_parameters(&self, task_name: &str) -> Option<&Array2<Float>>
Get task-specific parameters
Sourcepub fn task_intercepts(&self, task_name: &str) -> Option<&Array1<Float>>
pub fn task_intercepts(&self, task_name: &str) -> Option<&Array1<Float>>
Get task-specific intercepts
Sourcepub fn meta_learning_config(&self) -> (Float, Float, usize)
pub fn meta_learning_config(&self) -> (Float, Float, usize)
Get meta-learning parameters
Trait Implementations§
Source§impl Clone for MetaLearningMultiTaskTrained
impl Clone for MetaLearningMultiTaskTrained
Source§fn clone(&self) -> MetaLearningMultiTaskTrained
fn clone(&self) -> MetaLearningMultiTaskTrained
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 MetaLearningMultiTaskTrained
impl RefUnwindSafe for MetaLearningMultiTaskTrained
impl Send for MetaLearningMultiTaskTrained
impl Sync for MetaLearningMultiTaskTrained
impl Unpin for MetaLearningMultiTaskTrained
impl UnwindSafe for MetaLearningMultiTaskTrained
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