pub struct ValidationStream { /* private fields */ }Expand description
Validation stream for continuous processing 継続処理のための検証ストリーム
Implementations§
Source§impl ValidationStream
impl ValidationStream
Sourcepub fn new(config: RealTimeConfig) -> Self
pub fn new(config: RealTimeConfig) -> Self
Create new validation stream 新しい検証ストリームを作成
Sourcepub fn process_next<T>(
&mut self,
_tensor: &Tensor<T>,
) -> RusTorchResult<StreamingValidationResult>
pub fn process_next<T>( &mut self, _tensor: &Tensor<T>, ) -> RusTorchResult<StreamingValidationResult>
Process next item in stream ストリーム内の次のアイテムを処理
Auto Trait Implementations§
impl Freeze for ValidationStream
impl RefUnwindSafe for ValidationStream
impl Send for ValidationStream
impl Sync for ValidationStream
impl Unpin for ValidationStream
impl UnwindSafe for ValidationStream
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> 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