Defined in tensorflow/dragnn/core/ops/gen_dragnn_ops.py
.
Reads embeddings from an sstable of dist_belief.TokenEmbedding protos for
every key specified in a text vocabulary file.
sstable
: Astring
. path to sstable location with embedding vectors.vocab
: Astring
. path to list of keys corresponding to the sstable to extract.embedding_init
: An optionalfloat
. Defaults to1
.name
: A name for the operation (optional).
A Tensor
of type float32
. a tensor containing embeddings from the specified
sstable.