pub struct DummyModelProcessor { /* private fields */ }
Expand description
A dummy implementation of ModelProcessor
for testing purposes.
This processor simulates model outputs by returning incrementing tensors.
Implementations§
Trait Implementations§
source§impl Default for DummyModelProcessor
impl Default for DummyModelProcessor
Provides a default instance of DummyModelProcessor
.
source§impl ModelProcessor for DummyModelProcessor
impl ModelProcessor for DummyModelProcessor
Implementation of ModelProcessor
for DummyModelProcessor
.
Auto Trait Implementations§
impl RefUnwindSafe for DummyModelProcessor
impl Send for DummyModelProcessor
impl Sync for DummyModelProcessor
impl Unpin for DummyModelProcessor
impl UnwindSafe for DummyModelProcessor
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