Loading TOC...

cntk.lstmLayer

cntk.lstmLayer(
   $x as cntk.variable,
   $additional-parameters as Object,
   [$go-backwards as Boolean],
   [$initial-states as cntk.constant[]],
   [$return-full-state as Boolean],
   [$name as String]
) as cntk.function

Summary

Layer factory function to create a LSTM layer.

Parameters
$x
$additional-parameters

"shape": xs:unsignedLong*.

"cell-shape": xs:unsignedLong*.

"activation": xs:string. Default: "tanh"

"use-peepholes": xs:boolean. Default: false.

"init": xs:double, or cntk:value, or cntk:initializer. Default: cntk:glorot-uniform-initializer().

"bias-init": xs:double, or cntk:value, or cntk:initializer. Default: 0.

"enable-self-stablization": xs:boolean. Default: false.

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

$go-backwards
$initial-states Initial states must be a sequence of length 2.
$return-full-state
$name

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