pub struct Batched {
pub atom: Atom,
pub bdim: Option<usize>,
}Expand description
A value of the batched function and the position of its batch dimension,
or None if it is the same for every example of the batch.
Fields§
§atom: AtomThe value.
bdim: Option<usize>The batch dimension, if the value is batched.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Batched
Auto Trait Implementations§
impl Freeze for Batched
impl RefUnwindSafe for Batched
impl Send for Batched
impl Sync for Batched
impl Unpin for Batched
impl UnsafeUnpin for Batched
impl UnwindSafe for Batched
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