Loading TOC...

cntk.embeddingLayer

cntk.embeddingLayer(
   $operand as cntk.variable,
   $additional-parameters as Object
) as cntk.function

Summary

Construct an embedding layer based and apply on operand. An embedding layer does a matrix multiplication of a look-up table with the input. The look-up table can be learnable parameter (init), or fixed (weight).

Parameters
$operand The operand of the operation.
$additional-parameters

"shape": cntk:shape. The shape of the output of this layer.

"init": xs:double, or cntk:value, or cntk:initializer. Default: cntk:glorot-uniform-initializer(). Initial value of the look-up table. Learnable. weight cannot be given.

"weight": cntk:value. User supplied look-up table. Non learnable. init cannot be given.

"name": xs:string. Default: ""

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.