pub const fn to_custom_engine_definition(&self) -> Cow<CustomEngineDefinition> {
        match self {
            Self::GptJ6B => Cow::Owned(GptJ6B::AS_CUSTOM_ENGINE_DEFINITION),
            Self::Boris6B => Cow::Owned(Boris6B::AS_CUSTOM_ENGINE_DEFINITION),
            Self::FairseqGpt13B => Cow::Owned(FairseqGpt13B::AS_CUSTOM_ENGINE_DEFINITION),
            Self::Custom(custom_engine) => Cow::Borrowed(custom_engine),
        }
    }
/// Convert this engine definition into a [`CustomEngineDefinition`].
Convert this engine definition into a [`CustomEngineDefinition`].
Convert this engine definition into a [ ` CustomEngineDefinition ` ] .
pub const fn to_custom_engine_definition(&self) -> Cow<CustomEngineDefinition> {
        match self {
            Self::GptJ6B => Cow::Owned(GptJ6B::AS_CUSTOM_ENGINE_DEFINITION),
            Self::Boris6B => Cow::Owned(Boris6B::AS_CUSTOM_ENGINE_DEFINITION),
            Self::FairseqGpt13B => Cow::Owned(FairseqGpt13B::AS_CUSTOM_ENGINE_DEFINITION),
            Self::Custom(custom_engine) => Cow::Borrowed(custom_engine),
        }
    }
pub const fn to_custom_engine_definition ( & self ) -> Cow < CustomEngineDefinition > { match self { Self :: GptJ6B => Cow :: Owned ( GptJ6B :: AS_CUSTOM_ENGINE_DEFINITION ) , Self :: Boris6B => Cow :: Owned ( Boris6B :: AS_CUSTOM_ENGINE_DEFINITION ) , Self :: FairseqGpt13B => Cow :: Owned ( FairseqGpt13B :: AS_CUSTOM_ENGINE_DEFINITION ) , Self :: Custom ( custom_engine ) => Cow :: Borrowed ( custom_engine ) , } }
Convert this engine definition into a [`CustomEngineDefinition`].
Convert this engine definition into a [ ` CustomEngineDefinition ` ] .
&self
&self