oa::Ffn

Ffn class in the OA Ml public surface.

Inheritance

public Module

Public Methods

oa::I32 oa::Ffn::dFF()
oa::I32 oa::Ffn::dModel()
oa::Matrix oa::Ffn::forward(const oa::Matrix & inX)
void oa::Ffn::init(oa::I32 inDModel, oa::I32 inDFF, oa::F32 inRmsEps = 1e-5f)
oa::F32 oa::Ffn::rmsEps()

Constructor & Destructor Documentation

oa::Ffn::Ffn( oa::I32 inDModel, oa::I32 inDFF, oa::F32 inRmsEps = 1e-5f )
No public source comment is attached to this declaration.

Parameters

inDModel
oa::I32

inDFF
oa::I32

inRmsEps
oa::F32

Default: 1e-5f

Public Method Documentation

oa::I32 oa::Ffn::dFF()
No public source comment is attached to this declaration.

Returns

oa::I32

The declared return value.

oa::I32 oa::Ffn::dModel()
Accessors

Returns

oa::I32

The declared return value.

oa::Matrix oa::Ffn::forward( const oa::Matrix & inX )
forward pass (autograd-tracked)

Parameters

inX
const oa::Matrix &

Returns

oa::Matrix

The declared return value.

void oa::Ffn::init( oa::I32 inDModel, oa::I32 inDFF, oa::F32 inRmsEps = 1e-5f )
Initialization

Parameters

inDModel
oa::I32

inDFF
oa::I32

inRmsEps
oa::F32

Default: 1e-5f

Returns

void

The declared return value.

oa::F32 oa::Ffn::rmsEps()
No public source comment is attached to this declaration.

Returns

oa::F32

The declared return value.