KerasLayer#
#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:`KerasLayer <class-keraslayer>`
[KerasLayer](#class-keraslayer)
Detailed description#
Inherited by#
public : KerasLayerActivation
public : KerasLayerConvolution2d
public : KerasLayerDense
public : KerasLayerElu
public : KerasLayerEmbedding
public : KerasLayerFlatten
public : KerasLayerLSTM
public : KerasLayerMaxPooling2d
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
Complete Member Function Documentation#
Apply#
virtual bool KerasLayer::Apply(Tensor *in, Tensor *out)=0
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:`virtual bool KerasLayer::Apply(Tensor *in, Tensor *out)=0 <keraslayer-public-virtual-bool-keraslayer-apply-tensor-ptr-in-tensor-ptr-out-equal-0>`
[virtual bool KerasLayer::Apply(Tensor *in, Tensor *out)=0](#keraslayer-public-virtual-bool-keraslayer-apply-tensor-ptr-in-tensor-ptr-out-equal-0)
KerasLayer#
KerasLayer::KerasLayer()
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:`KerasLayer::KerasLayer() <keraslayer-public-keraslayer-keraslayer>`
[KerasLayer::KerasLayer()](#keraslayer-public-keraslayer-keraslayer)
LoadLayer#
virtual bool KerasLayer::LoadLayer(std::ifstream *file)=0
Detailed description
Referenced By
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:`virtual bool KerasLayer::LoadLayer(std::ifstream *file)=0 <keraslayer-public-virtual-bool-keraslayer-loadlayer-std-ifstream-ptr-file-equal-0>`
[virtual bool KerasLayer::LoadLayer(std::ifstream *file)=0](#keraslayer-public-virtual-bool-keraslayer-loadlayer-std-ifstream-ptr-file-equal-0)
~KerasLayer#
virtual KerasLayer::~KerasLayer()
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:`virtual KerasLayer::~KerasLayer() <keraslayer-public-virtual-keraslayer-dtor-keraslayer>`
[virtual KerasLayer::~KerasLayer()](#keraslayer-public-virtual-keraslayer-dtor-keraslayer)