Struct sloword2vec::onehot::OneHot [] [src]

pub struct OneHot<'a>(_, _);

Wraps a Row. 1 * V matrix into a newtype

Methods

impl<'a> OneHot<'a>
[src]

[src]

Returns the row contained within this one hot newtype

[src]

Returns the column index of "1" inside the one-hot vector

Trait Implementations

impl<'a> Clone for OneHot<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for OneHot<'a>
[src]