Skip to content

network_t_

This structure contains all parameters necessary for building a simple neural netowork.

#include <network.h>

Public Attributes

Name
uint32_t IN_CH1
uint32_t IN_CH2
uint32_t OUT_CH
float * b
float * W
float * b_grad
float * W_grad
float * images
uint32_t * targets
precision_t dtype

Public Attributes Documentation

variable IN_CH1

uint32_t IN_CH1;

First dimension of the input data matrix (first channel)

variable IN_CH2

uint32_t IN_CH2;

Second dimension of the input data matrix (second channel)

variable OUT_CH

uint32_t OUT_CH;

Dimension of input matix along which we perform SoftMax

variable b

float * b;

Pointer to biases of the network

variable W

float * W;

Pointer to weights of the network

variable b_grad

float * b_grad;

Pointer to bias gradients of the network

variable W_grad

float * W_grad;

Pointer to weight gradients of the network

variable images

float * images;

variable targets

uint32_t * targets;

variable dtype

precision_t dtype;

Precision of the neural network (uniform for now)


Updated on 2023-06-19 at 09:43:56 +0000