Test 1
This commit is contained in:
@@ -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 = layers->weights.rows;
|
||||
int in = layers->weights.cols;
|
||||
int out = Layer->weights.rows;
|
||||
int in = Layer->weights.cols;
|
||||
|
||||
|
||||
fwrite(layers->weights.buffer, sizeof(MatrixType), out * in, file);
|
||||
|
||||
Reference in New Issue
Block a user