#[non_exhaustive]pub enum BoundaryTensorDimension {
Batch,
Sequence,
Fixed(i32),
}Expand description
One symbolic dimension in an architecture-owned boundary tensor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Batch
Invocation batch size.
Sequence
Invocation sequence length.
Fixed(i32)
Positive architecture-defined extent.
Trait Implementations§
Source§impl Clone for BoundaryTensorDimension
impl Clone for BoundaryTensorDimension
Source§fn clone(&self) -> BoundaryTensorDimension
fn clone(&self) -> BoundaryTensorDimension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoundaryTensorDimension
Source§impl Debug for BoundaryTensorDimension
impl Debug for BoundaryTensorDimension
impl Eq for BoundaryTensorDimension
Source§impl Hash for BoundaryTensorDimension
impl Hash for BoundaryTensorDimension
Source§impl PartialEq for BoundaryTensorDimension
impl PartialEq for BoundaryTensorDimension
impl StructuralPartialEq for BoundaryTensorDimension
Auto Trait Implementations§
impl Freeze for BoundaryTensorDimension
impl RefUnwindSafe for BoundaryTensorDimension
impl Send for BoundaryTensorDimension
impl Sync for BoundaryTensorDimension
impl Unpin for BoundaryTensorDimension
impl UnsafeUnpin for BoundaryTensorDimension
impl UnwindSafe for BoundaryTensorDimension
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