Struct tch::nn::Embedding [−][src]
pub struct Embedding {
pub ws: Tensor,
// some fields omitted
}
Expand description
An embedding layer.
An embedding layer acts as a simple lookup table that stores embeddings. This is commonly used to store word embeddings.
Fields
ws: Tensor