Deep Neural Network for MNIST Handwriting Recognition
1.0
Deep Neural Network for MNIST Handwriting Recognition
|
Utitlies for advanced input and output to the terminal screen. More...
#include "../dnn.h"
Go to the source code of this file.
Typedefs | |
typedef enum Color | Color |
Enumerations | |
enum | Color { WHITE, RED, GREEN, YELLOW, BLUE, CYAN } |
Functions | |
void | clearScreen () |
Clear terminal screen by printing an escape sequence. More... | |
void | setColor (Color c) |
Set text color in terminal by printing an escape sequence. More... | |
void | moveCursorLeft (const int x) |
Moves the cursor to the left of the current position by a specified number of steps. More... | |
void | moveCursorTo (const int x) |
Moves the cursor to the specified horizontal position in the current line. More... | |
void | locateCursor (const int row, const int col) |
Set cursor position to given coordinates in the terminal window. More... | |
void | outputNetworkDefinition (int layerCount, LayerDefinition *layerDefs) |
Outputs a summary table of the network specified via the given array of layer definitions. More... | |
Utitlies for advanced input and output to the terminal screen.
enum Color |
void clearScreen | ( | ) |
Clear terminal screen by printing an escape sequence.
Clear terminal screen by printing an escape sequence
void locateCursor | ( | const int | row, |
const int | col | ||
) |
Set cursor position to given coordinates in the terminal window.
row | Row number in terminal screen |
col | Column number in terminal screen |
void moveCursorLeft | ( | const int | x | ) |
Moves the cursor to the left of the current position by a specified number of steps.
x | Number of steps that the cursor is moved to the left |
void moveCursorTo | ( | const int | x | ) |
Moves the cursor to the specified horizontal position in the current line.
x | Horizaontal coordinate to why the cursor is moved to |
void outputNetworkDefinition | ( | int | layerCount, |
LayerDefinition * | layerDefs | ||
) |
Outputs a summary table of the network specified via the given array of layer definitions.
layerCount | The number of layer in this network |
layerDefs | A pointer to an array of layer definitions |
void setColor | ( | Color | c | ) |
Set text color in terminal by printing an escape sequence.
c | Color code |
Set text color in terminal by printing an escape sequence