|
NeuroTIC 0.0
|
Predefined Feedforward Topologies.
http://tituxdev.github.io/NeuroTIC/src/CPU/ntfeedforward.c.
More...
#include "ntcore.h"

Go to the source code of this file.
Functions | |
| struct net_s * | newfeedforward (net_s *net) |
| Initializes a simple feedforward topology. | |
| struct net_s * | newdense (net_s *net) |
| Initializes a dense feedforward topology. | |
Predefined Feedforward Topologies.
http://tituxdev.github.io/NeuroTIC/src/CPU/ntfeedforward.c.
Provides convenient functions to initialize common neural network wiring configurations.
These functions allocate and configure the network's bff_wiring structure according to a specific topology.
Definition in file ntfeedforward.h.
Initializes a dense feedforward topology.
| net | Pointer to the network to configure. |
Connects each neuron in a layer to all neurons in previous layers, creating a fully connected inter-layer mapping.
Validates input and uses memtrack for all allocations.
References wiring_s::array_type, wiring_s::arrays, neuron_s::bff_idx, net_s::layers, net_s::neurons, net_s::nn, wiring_s::size, wiring_s::src_index, wiring_s::src_layer, wiring_s::src_type, and net_s::wiring.
Initializes a simple feedforward topology.
| net | Pointer to the network to configure. |
Sets up one buffer per neuron connecting each neuron to the corresponding neuron in the previous layer.
Validates input and uses memtrack for all allocations.
References wiring_s::array_type, wiring_s::arrays, neuron_s::bff_idx, net_s::layers, net_s::neurons, net_s::nn, wiring_s::size, wiring_s::src_index, wiring_s::src_layer, wiring_s::src_type, and net_s::wiring.