Skip to main content

embedding

Function embedding 

Source
pub fn embedding(weights: Tensor<2>, indices: Tensor<2, Int>) -> Tensor<3>
Expand description

Applies the embedding module.