URL
https://opencores.org/ocsvn/tanhapprox/tanhapprox/trunk
[/] [tanhapprox/] [trunk/] [ann.h] - Blame information for rev 3
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
3 |
psant064 |
// Sizes of our data structures
|
2 |
|
|
#define DATA_WIDTH 4
|
3 |
|
|
#define DATA_LENGTH 150
|
4 |
|
|
|
5 |
|
|
#define true 1
|
6 |
|
|
#define false 0
|
7 |
|
|
|
8 |
|
|
void ArrayFill(float aInput[][DATA_WIDTH], int nCountCol, float nValueToFill);
|
9 |
|
|
void ArrayTanh(float aInput[DATA_WIDTH]);
|
10 |
|
|
void MatrixMultiplication(float aMatrix1[DATA_WIDTH][DATA_WIDTH], float aMatrix2[DATA_WIDTH], float aOutput[DATA_WIDTH], char bPrint);
|
11 |
|
|
void MatrixAddition(float aMatrix1[DATA_WIDTH], float aMatrix2[DATA_WIDTH], float aOutput[DATA_WIDTH]);
|
12 |
|
|
void Normalize(float aInput[][DATA_WIDTH], int nCountCol);
|
13 |
|
|
void Unnormalize(float aInput[][DATA_WIDTH], int nCountCol);
|
14 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.