pub struct SupervisedJsonlConfig { /* private fields */ }Expand description
Configuration for parsing/loading supervised JSONL datasets.
Implementations§
Source§impl SupervisedJsonlConfig
impl SupervisedJsonlConfig
pub fn new( input_shape: Vec<usize>, target_shape: Vec<usize>, ) -> Result<Self, ModelError>
pub fn input_shape(&self) -> &[usize]
pub fn target_shape(&self) -> &[usize]
Trait Implementations§
Source§impl Clone for SupervisedJsonlConfig
impl Clone for SupervisedJsonlConfig
Source§fn clone(&self) -> SupervisedJsonlConfig
fn clone(&self) -> SupervisedJsonlConfig
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 moreSource§impl Debug for SupervisedJsonlConfig
impl Debug for SupervisedJsonlConfig
Source§impl PartialEq for SupervisedJsonlConfig
impl PartialEq for SupervisedJsonlConfig
impl StructuralPartialEq for SupervisedJsonlConfig
Auto Trait Implementations§
impl Freeze for SupervisedJsonlConfig
impl RefUnwindSafe for SupervisedJsonlConfig
impl Send for SupervisedJsonlConfig
impl Sync for SupervisedJsonlConfig
impl Unpin for SupervisedJsonlConfig
impl UnsafeUnpin for SupervisedJsonlConfig
impl UnwindSafe for SupervisedJsonlConfig
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