Skip to main content

encode_text

Function encode_text 

Source
pub fn encode_text(text: &str) -> Result<Matrix>
Expand description

Upload UTF-8 text without tokenization or normalization on this thread’s default runtime.

§Errors

Returns an error when the default runtime cannot be initialized or when allocation or upload fails.