pub struct SelfTest<T>where
T: TensorStorage,{
pub name: Option<String>,
pub description: Option<String>,
pub inputs: HashMap<String, PossiblyLoaded<Tensor<T>>>,
pub expected_out: Option<HashMap<String, PossiblyLoaded<Tensor<T>>>>,
}
Fields§
§name: Option<String>
§description: Option<String>
§inputs: HashMap<String, PossiblyLoaded<Tensor<T>>>
§expected_out: Option<HashMap<String, PossiblyLoaded<Tensor<T>>>>
Implementations§
source§impl<T: TensorStorage> SelfTest<T>
impl<T: TensorStorage> SelfTest<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for SelfTest<T>
impl<T> Send for SelfTest<T>
impl<T> Sync for SelfTest<T>
impl<T> Unpin for SelfTest<T>
impl<T> !UnwindSafe for SelfTest<T>
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