TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
KerasLayerActivation Class Reference

#include <keras_model.h>

Inheritance diagram for KerasLayerActivation:
[legend]
Collaboration diagram for KerasLayerActivation:
[legend]

Public Types

enum  ActivationType {
  kLinear = 1 , kRelu = 2 , kSoftPlus = 3 , kSigmoid = 4 ,
  kTanh = 5 , kHardSigmoid = 6
}

Public Member Functions

 KerasLayerActivation ()
 ~KerasLayerActivation () override
bool LoadLayer (std::ifstream *file) override
bool Apply (Tensor *in, Tensor *out) override
Public Member Functions inherited from KerasLayer
 KerasLayer ()
virtual ~KerasLayer ()

Detailed Description

Definition at line 287 of file keras_model.h.

Member Enumeration Documentation

◆ ActivationType

Enumerator
kLinear 
kRelu 
kSoftPlus 
kSigmoid 
kTanh 
kHardSigmoid 

Definition at line 289 of file keras_model.h.

Constructor & Destructor Documentation

◆ KerasLayerActivation()

KerasLayerActivation::KerasLayerActivation ( )
inline

Definition at line 298 of file keras_model.h.

◆ ~KerasLayerActivation()

KerasLayerActivation::~KerasLayerActivation ( )
inlineoverride

Definition at line 300 of file keras_model.h.

Member Function Documentation

◆ Apply()

bool KerasLayerActivation::Apply ( Tensor * in,
Tensor * out )
overridevirtual

Implements KerasLayer.

Definition at line 87 of file keras_model.cpp.

◆ LoadLayer()

bool KerasLayerActivation::LoadLayer ( std::ifstream * file)
overridevirtual

Implements KerasLayer.

Definition at line 50 of file keras_model.cpp.


The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/triocfd-documentation/checkouts/next/src/ext/kerasify/keras_model.h
  • /home/docs/checkouts/readthedocs.org/user_builds/triocfd-documentation/checkouts/next/src/ext/kerasify/keras_model.cpp