MCPcopy Create free account
hub / github.com/MultiPath/CopyNet / Embedding

Class Embedding

emolga/layers/embeddings.py:8–65  ·  view source on GitHub ↗

Turn positive integers (indexes) into denses vectors of fixed size. eg. [[4], [20]] -> [[0.25, 0.1], [0.6, -0.2]] @input_dim: size of vocabulary (highest input integer + 1) @out_dim: size of dense representation

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected