FlexNN 1
Fully connected neural network built from scratch with flexible n-layer design and multiple activations.
Loading...
Searching...
No Matches
FlexNN::ExportOptions Struct Reference

Options for export (currently version). More...

#include <ModelIO.hpp>

Public Attributes

int formatVersion = 2
 1=legacy, 2=with ActivationParameters
 

Detailed Description

Options for export (currently version).

v1: flat binary with enum activation only (LeakyReLU alpha fixed 0.01, no aux). v2: adds per-layer LeakyReLU alpha as 1 float32 in aux when act==LeakyReLU (see ActivationParameters). Default is 2 so new code writes the configurable alpha (still 0.01 if user never changed it).

Member Data Documentation

◆ formatVersion

int FlexNN::ExportOptions::formatVersion = 2

1=legacy, 2=with ActivationParameters


The documentation for this struct was generated from the following file: