#[non_exhaustive]pub enum ReplicatedTextOutputSelection {
LastSequencePosition,
}Expand description
Architecture-declared projection from complete logits to one causal-text output.
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.
LastSequencePosition
Selects the final position on the architecture’s sequence axis.
Implementations§
Source§impl ReplicatedTextOutputSelection
impl ReplicatedTextOutputSelection
Sourcepub const fn sequence_index(self) -> i32
pub const fn sequence_index(self) -> i32
Returns the mechanical sequence-axis index requested from a backend tensor.
Trait Implementations§
Source§impl Clone for ReplicatedTextOutputSelection
impl Clone for ReplicatedTextOutputSelection
Source§fn clone(&self) -> ReplicatedTextOutputSelection
fn clone(&self) -> ReplicatedTextOutputSelection
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 ReplicatedTextOutputSelection
impl Eq for ReplicatedTextOutputSelection
impl StructuralPartialEq for ReplicatedTextOutputSelection
Auto Trait Implementations§
impl Freeze for ReplicatedTextOutputSelection
impl RefUnwindSafe for ReplicatedTextOutputSelection
impl Send for ReplicatedTextOutputSelection
impl Sync for ReplicatedTextOutputSelection
impl Unpin for ReplicatedTextOutputSelection
impl UnsafeUnpin for ReplicatedTextOutputSelection
impl UnwindSafe for ReplicatedTextOutputSelection
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