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

Fully connected neuron in a neural network. More...

#include <neuron.h>

Data Fields

size_t n_in
 
bool non_linear
 
mg_value ** w
 
mg_valueb
 

Detailed Description

Fully connected neuron in a neural network.

Field Documentation

◆ b

mg_value* mg_neuron::b

Bias value.

◆ n_in

size_t mg_neuron::n_in

Number of input values.

◆ non_linear

bool mg_neuron::non_linear

Whether to apply the non-linear activation function.

◆ w

mg_value** mg_neuron::w

Array of n_in weight values.


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