test 2
This commit is contained in:
parent
7b4cac83c5
commit
3581f434c4
@ -36,8 +36,8 @@ static void prepareNeuralNetworkFile(const char *path, const NeuralNetwork nn)
|
||||
for (int i = 0; i < nn.numberOfLayers; i++)
|
||||
{
|
||||
//const Layerlayer = &nn.layers[i];
|
||||
int out = Layer->weights.rows;
|
||||
int in = Layer->weights.cols;
|
||||
int out = nn.layers->weights.rows;
|
||||
int in = nn.layers->weights.cols;
|
||||
|
||||
|
||||
fwrite(layers->weights.buffer, sizeof(MatrixType), out * in, file);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user