#[repr(u32)]pub enum Batch {
Unknown = 1,
FirstDim = 2,
}Expand description
Batch properties of the model.
Variants§
Unknown = 1
Triton cannot determine the batching properties of the model. This means that the model does not support batching in any way that is useable by Triton.
FirstDim = 2
The model supports batching along the first dimension of every input and output tensor. Triton schedulers that perform batching can automatically batch inference requests along this dimension.
Trait Implementations§
impl Copy for Batch
impl Eq for Batch
impl StructuralPartialEq for Batch
Auto Trait Implementations§
impl Freeze for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnwindSafe for Batch
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