pub struct ProcessResult {
pub output_arrays: Vec<Arc<NDArray>>,
pub param_updates: Vec<ParamUpdate>,
pub scatter: bool,
}Expand description
Result of processing one array: output arrays + param updates to write back.
Fields§
§output_arrays: Vec<Arc<NDArray>>§param_updates: Vec<ParamUpdate>§scatter: boolWhen true, the output arrays are scattered — delivered to a single
downstream consumer in round-robin order rather than broadcast to all.
The target consumer (and reroute-past-full / drop-on-last decisions) is
owned by the runtime delivery path, which holds the persistent cursor
(C++ NDPluginScatter::nextClient_); the processor only marks the frame
as a scatter frame.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessResult
impl !UnwindSafe for ProcessResult
impl Freeze for ProcessResult
impl Send for ProcessResult
impl Sync for ProcessResult
impl Unpin for ProcessResult
impl UnsafeUnpin for ProcessResult
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