N2CMU Arduino
n2cmu_commands.h
Go to the documentation of this file.
1/*
2 * This file is part of the N2CMU Arduino library (https://github.com/nthnn/n2cmu-arduino).
3 * Copyright (c) 2024 Nathanne Isip.
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
28#ifndef N2CMU_COMMANDS_H
29#define N2CMU_COMMANDS_H
30
38typedef enum N2CMUCommands {
41
46
59
73
74#endif
N2CMUCommands
Enumeration defining command constants for N2CMU communication.
Definition: n2cmu_commands.h:38
@ N2CMU_GET_OUTPUT_COUNT
Command constant for getting the number of output neurons.
Definition: n2cmu_commands.h:62
@ N2CMU_GET_HIDDEN_WEIGHTS
Command constant for getting hidden neuron weights.
Definition: n2cmu_commands.h:65
@ N2CMU_GET_OUTPUT_BIAS
Command constant for getting output neuron biases.
Definition: n2cmu_commands.h:68
@ N2CMU_PROC_HANDSHAKE
Command constant for the N2CMU handshake signal.
Definition: n2cmu_commands.h:39
@ N2CMU_SET_EPOCH_COUNT
Command constant for setting the epoch count for training.
Definition: n2cmu_commands.h:58
@ N2CMU_SET_OUTPUT_GRAD
Command constant for setting output neuron gradients.
Definition: n2cmu_commands.h:57
@ N2CMU_GET_OUTPUT_WEIGHTS
Command constant for getting output neuron weights.
Definition: n2cmu_commands.h:66
@ N2CMU_GET_HIDDEN_GRAD
Command constant for getting hidden neuron gradients.
Definition: n2cmu_commands.h:69
@ N2CMU_SET_OUTPUT_BIAS
Command constant for setting output neuron biases.
Definition: n2cmu_commands.h:55
@ N2CMU_SET_OUTPUT_COUNT
Command constant for setting the number of output neurons.
Definition: n2cmu_commands.h:49
@ N2CMU_NET_INFER
Command constant for making inference with the neural network.
Definition: n2cmu_commands.h:45
@ N2CMU_SET_HIDDEN_GRAD
Command constant for setting hidden neuron gradients.
Definition: n2cmu_commands.h:56
@ N2CMU_SET_HIDDEN_WEIGHTS
Command constant for setting hidden neuron weights.
Definition: n2cmu_commands.h:52
@ N2CMU_SET_HIDDEN_BIAS
Command constant for setting hidden neuron biases.
Definition: n2cmu_commands.h:54
@ N2CMU_GET_HIDDEN_NEURON
Command constant for getting hidden neuron values.
Definition: n2cmu_commands.h:63
@ N2CMU_NET_TRAIN
Command constant for training a neural network.
Definition: n2cmu_commands.h:44
@ N2CMU_NET_CREATE
Command constant for creating a neural network.
Definition: n2cmu_commands.h:42
@ N2CMU_GET_EPOCH_COUNT
Command constant for getting the epoch count of training.
Definition: n2cmu_commands.h:71
@ N2CMU_GET_INPUT_COUNT
Command constant for getting the number of input neurons.
Definition: n2cmu_commands.h:60
@ N2CMU_GET_HIDDEN_BIAS
Command constant for getting hidden neuron biases.
Definition: n2cmu_commands.h:67
@ N2CMU_GET_HIDDEN_COUNT
Command constant for getting the number of hidden neurons.
Definition: n2cmu_commands.h:61
@ N2CMU_SET_OUTPUT_WEIGHTS
Command constant for setting output neuron weights.
Definition: n2cmu_commands.h:53
@ N2CMU_PROC_CPU_RESET
Constant for resetting the CPU.
Definition: n2cmu_commands.h:40
@ N2CMU_SET_HIDDEN_COUNT
Command constant for setting the number of hidden neurons.
Definition: n2cmu_commands.h:48
@ N2CMU_GET_OUTPUT_GRAD
Command constant for getting output neuron gradients.
Definition: n2cmu_commands.h:70
@ N2CMU_NET_RESET
Command constant for resetting a neural network.
Definition: n2cmu_commands.h:43
@ N2CMU_SET_INPUT_COUNT
Command constant for setting the number of input neurons.
Definition: n2cmu_commands.h:47
@ N2CMU_GET_OUTPUT_NEURON
Command constant for getting output neuron values.
Definition: n2cmu_commands.h:64
@ N2CMU_SET_OUTPUT_NEURON
Command constant for setting output neuron values.
Definition: n2cmu_commands.h:51
@ N2CMU_SET_HIDDEN_NEURON
Command constant for setting hidden neuron values.
Definition: n2cmu_commands.h:50