mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Works well on MNIST
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
softmax_layer *make_softmax_layer(int inputs)
|
||||
{
|
||||
printf("Softmax Layer: %d inputs\n", inputs);
|
||||
fprintf(stderr, "Softmax Layer: %d inputs\n", inputs);
|
||||
softmax_layer *layer = calloc(1, sizeof(softmax_layer));
|
||||
layer->inputs = inputs;
|
||||
layer->output = calloc(inputs, sizeof(double));
|
||||
|
Reference in New Issue
Block a user