Skip to content

Commit

Permalink
Remove more code unrelated to the bug in the reproducer
Browse files Browse the repository at this point in the history
  • Loading branch information
ktras committed Feb 15, 2024
1 parent f325813 commit 1942d65
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions layer-bug-reproducer/layer-bug-reproducer.F90
Original file line number Diff line number Diff line change
Expand Up @@ -210,18 +210,6 @@ module function count_neurons(layer) result(neurons_per_layer)

layer%neuron = neuron_t(layer_lines, start+1)
num_inputs = size(layer%neuron%weights())

neuron => layer%neuron
neurons_in_layer = 1
do
if (.not. neuron%next_allocated()) exit
neuron => neuron%next_pointer()
neurons_in_layer = neurons_in_layer + 1
end do

line = trim(adjustl(layer_lines(start+4*neurons_in_layer+1)%string()))
if (line(len(line):len(line)) == ",") layer%next = construct(layer_lines, start+4*neurons_in_layer+2)

end procedure
#ifdef MAYBEBUG
module procedure count_neurons
Expand Down

0 comments on commit 1942d65

Please sign in to comment.