KerasLayerLSTM#

#include <keras_model.h>
Brief description

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KerasLayerLSTM <class-keraslayerlstm>`
[KerasLayerLSTM](#class-keraslayerlstm)

Detailed description#

Inherits from#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classKerasLayerLSTM__inherit__graph.png

List of Public Methods#

List of Private Methods#

Complete Member Function Documentation#

Apply#

Definition
bool KerasLayerLSTM::Apply(Tensor *in, Tensor *out) override
Brief description
Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool KerasLayerLSTM::Apply(Tensor *in, Tensor *out) override <keraslayerlstm-public-bool-keraslayerlstm-apply-tensor-ptr-in-tensor-ptr-out-override>`
[bool KerasLayerLSTM::Apply(Tensor *in, Tensor *out) override](#keraslayerlstm-public-bool-keraslayerlstm-apply-tensor-ptr-in-tensor-ptr-out-override)

KerasLayerLSTM#

Definition
KerasLayerLSTM::KerasLayerLSTM()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KerasLayerLSTM::KerasLayerLSTM() <keraslayerlstm-public-keraslayerlstm-keraslayerlstm>`
[KerasLayerLSTM::KerasLayerLSTM()](#keraslayerlstm-public-keraslayerlstm-keraslayerlstm)

LoadLayer#

Definition
bool KerasLayerLSTM::LoadLayer(std::ifstream *file) override
Brief description
Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool KerasLayerLSTM::LoadLayer(std::ifstream *file) override <keraslayerlstm-public-bool-keraslayerlstm-loadlayer-std-ifstream-ptr-file-override>`
[bool KerasLayerLSTM::LoadLayer(std::ifstream *file) override](#keraslayerlstm-public-bool-keraslayerlstm-loadlayer-std-ifstream-ptr-file-override)

~KerasLayerLSTM#

Definition
KerasLayerLSTM::~KerasLayerLSTM() override
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KerasLayerLSTM::~KerasLayerLSTM() override <keraslayerlstm-public-keraslayerlstm-dtor-keraslayerlstm-override>`
[KerasLayerLSTM::~KerasLayerLSTM() override](#keraslayerlstm-public-keraslayerlstm-dtor-keraslayerlstm-override)

Step#

Definition
bool KerasLayerLSTM::Step(Tensor *x, Tensor *out, Tensor *ht_1, Tensor *ct_1)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool KerasLayerLSTM::Step(Tensor *x, Tensor *out, Tensor *ht_1, Tensor *ct_1) <keraslayerlstm-private-bool-keraslayerlstm-step-tensor-ptr-x-tensor-ptr-out-tensor-ptr-ht-1-tensor-ptr-ct-1>`
[bool KerasLayerLSTM::Step(Tensor *x, Tensor *out, Tensor *ht_1, Tensor *ct_1)](#keraslayerlstm-private-bool-keraslayerlstm-step-tensor-ptr-x-tensor-ptr-out-tensor-ptr-ht-1-tensor-ptr-ct-1)

Attributes Documentation#

activation_ (private)
KerasLayerActivation KerasLayerLSTM::activation_
bc_ (private)
Tensor KerasLayerLSTM::bc_
bf_ (private)
Tensor KerasLayerLSTM::bf_
bi_ (private)
Tensor KerasLayerLSTM::bi_
bo_ (private)
Tensor KerasLayerLSTM::bo_
innerActivation_ (private)
KerasLayerActivation KerasLayerLSTM::innerActivation_
return_sequences_ (private)
bool KerasLayerLSTM::return_sequences_
Uc_ (private)
Tensor KerasLayerLSTM::Uc_
Uf_ (private)
Tensor KerasLayerLSTM::Uf_
Ui_ (private)
Tensor KerasLayerLSTM::Ui_
Uo_ (private)
Tensor KerasLayerLSTM::Uo_
Wc_ (private)
Tensor KerasLayerLSTM::Wc_
Wf_ (private)
Tensor KerasLayerLSTM::Wf_
Wi_ (private)
Tensor KerasLayerLSTM::Wi_
Wo_ (private)
Tensor KerasLayerLSTM::Wo_