pub struct Word { /* private fields */ }
Expand description
The Transformable Data Type Word
Implementations§
Trait Implementations§
source§impl Transformer for Word
impl Transformer for Word
source§fn transform_to_vec(&self) -> Vec<f32>
fn transform_to_vec(&self) -> Vec<f32>
Transforms the non-numeric data into a numeric
Vec
source§fn transform(
&self,
shape: &[usize]
) -> Result<SharedTensor<f32>, TransformerError>
fn transform( &self, shape: &[usize] ) -> Result<SharedTensor<f32>, TransformerError>
Transforms non-numeric data into a numeric
SharedTensor
Read moresource§fn write_to_memory<T: NumCast + Copy>(
mem: &mut FlatBox,
data: &[T]
) -> Result<(), TransformerError>
fn write_to_memory<T: NumCast + Copy>( mem: &mut FlatBox, data: &[T] ) -> Result<(), TransformerError>
Write into a native Coaster Memory.
Auto Trait Implementations§
impl RefUnwindSafe for Word
impl Send for Word
impl Sync for Word
impl Unpin for Word
impl UnwindSafe for Word
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