micrograd 0.1.0
Small C implementation of micrograd
Loading...
Searching...
No Matches
mg_layer Struct Reference

Layer of neurons in a neural network. More...

#include <layer.h>

Collaboration diagram for mg_layer:

Data Fields

size_t n_in
 
size_t n_out
 
mg_neuronneurons
 

Detailed Description

Layer of neurons in a neural network.

Field Documentation

◆ n_in

size_t mg_layer::n_in

Number of input values consumed by each neuron.

◆ n_out

size_t mg_layer::n_out

Number of output values produced by the layer.

◆ neurons

mg_neuron* mg_layer::neurons

Array of n_out neurons.


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