Enum EmbeddingNormalizationKind
pub enum EmbeddingNormalizationKind {
None,
Unit,
MeanCentered,
Standardized,
Custom,
}Variants§
Implementations§
Trait Implementations§
§impl Clone for EmbeddingNormalizationKind
impl Clone for EmbeddingNormalizationKind
§fn clone(&self) -> EmbeddingNormalizationKind
fn clone(&self) -> EmbeddingNormalizationKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for EmbeddingNormalizationKind
impl Debug for EmbeddingNormalizationKind
§impl Display for EmbeddingNormalizationKind
impl Display for EmbeddingNormalizationKind
§impl FromStr for EmbeddingNormalizationKind
impl FromStr for EmbeddingNormalizationKind
§type Err = EmbeddingError
type Err = EmbeddingError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<EmbeddingNormalizationKind, <EmbeddingNormalizationKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<EmbeddingNormalizationKind, <EmbeddingNormalizationKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for EmbeddingNormalizationKind
impl Hash for EmbeddingNormalizationKind
§impl Ord for EmbeddingNormalizationKind
impl Ord for EmbeddingNormalizationKind
§fn cmp(&self, other: &EmbeddingNormalizationKind) -> Ordering
fn cmp(&self, other: &EmbeddingNormalizationKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for EmbeddingNormalizationKind
impl PartialEq for EmbeddingNormalizationKind
§impl PartialOrd for EmbeddingNormalizationKind
impl PartialOrd for EmbeddingNormalizationKind
impl Copy for EmbeddingNormalizationKind
impl Eq for EmbeddingNormalizationKind
impl StructuralPartialEq for EmbeddingNormalizationKind
Auto Trait Implementations§
impl Freeze for EmbeddingNormalizationKind
impl RefUnwindSafe for EmbeddingNormalizationKind
impl Send for EmbeddingNormalizationKind
impl Sync for EmbeddingNormalizationKind
impl Unpin for EmbeddingNormalizationKind
impl UnsafeUnpin for EmbeddingNormalizationKind
impl UnwindSafe for EmbeddingNormalizationKind
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