KerasLayerLSTM#
#include <keras_model.h>
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#
public : KerasLayer
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Private Methods#
Complete Member Function Documentation#
Apply#
bool KerasLayerLSTM::Apply(Tensor *in, Tensor *out) override
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#
KerasLayerLSTM::KerasLayerLSTM()
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#
bool KerasLayerLSTM::LoadLayer(std::ifstream *file) override
Detailed description
Reimplements:
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#
KerasLayerLSTM::~KerasLayerLSTM() override
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#
bool KerasLayerLSTM::Step(Tensor *x, Tensor *out, Tensor *ht_1, Tensor *ct_1)
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#
KerasLayerActivation KerasLayerLSTM::activation_
Tensor KerasLayerLSTM::bc_
Tensor KerasLayerLSTM::bf_
Tensor KerasLayerLSTM::bi_
Tensor KerasLayerLSTM::bo_
KerasLayerActivation KerasLayerLSTM::innerActivation_
bool KerasLayerLSTM::return_sequences_
Tensor KerasLayerLSTM::Uc_
Tensor KerasLayerLSTM::Uf_
Tensor KerasLayerLSTM::Ui_
Tensor KerasLayerLSTM::Uo_
Tensor KerasLayerLSTM::Wc_
Tensor KerasLayerLSTM::Wf_
Tensor KerasLayerLSTM::Wi_
Tensor KerasLayerLSTM::Wo_