Class ULREmbedding

Inheritance Relationships

Base Types

Class Documentation

class ULREmbedding : public marian::LayerBase, public marian::IEmbeddingLayer

Universal Language Representation (ULR) word embedding layer.

It is under development.

Public Functions

ULREmbedding(Ptr<ExpressionGraph> graph, Ptr<Options> options)
std::tuple<Expr, Expr> apply(Ptr<data::SubBatch> subBatch) const
Expr apply(const Words &words, const Shape &shape) const
Expr applyIndices(const std::vector<WordIndex> &embIdx, const Shape &shape) const