pub struct RealTimeValidator { /* private fields */ }Expand description
Real-time validator for streaming data ストリーミングデータのリアルタイム検証器
Implementations§
Source§impl RealTimeValidator
impl RealTimeValidator
Sourcepub fn new(config: RealTimeConfig) -> RusTorchResult<Self>
pub fn new(config: RealTimeConfig) -> RusTorchResult<Self>
Create new real-time validator 新しいリアルタイム検証器を作成
Sourcepub fn start_monitoring(&mut self) -> RusTorchResult<()>
pub fn start_monitoring(&mut self) -> RusTorchResult<()>
Start real-time monitoring リアルタイム監視を開始
Sourcepub fn stop_monitoring(&mut self) -> RusTorchResult<()>
pub fn stop_monitoring(&mut self) -> RusTorchResult<()>
Stop real-time monitoring リアルタイム監視を停止
Sourcepub fn validate_realtime<T>(
&mut self,
tensor: &Tensor<T>,
) -> RusTorchResult<StreamingValidationResult>
pub fn validate_realtime<T>( &mut self, tensor: &Tensor<T>, ) -> RusTorchResult<StreamingValidationResult>
Validate data chunk in real-time リアルタイムでデータチャンクを検証
Sourcepub fn get_stats(&self) -> &ValidationStats
pub fn get_stats(&self) -> &ValidationStats
Get validation statistics 検証統計を取得
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RealTimeValidator
impl RefUnwindSafe for RealTimeValidator
impl Send for RealTimeValidator
impl Sync for RealTimeValidator
impl Unpin for RealTimeValidator
impl UnwindSafe for RealTimeValidator
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