Skip to content

Commit 1de7744

Browse files
committed
fix: New access point to 'loss % derivative'
Previously `quadratic_derivative`.
1 parent 745c2d6 commit 1de7744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nf/nf_network_submodule.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ pure module subroutine backward(self, output, loss)
336336
type is(rnn_layer)
337337
call self % layers(n) % backward( &
338338
self % layers(n - 1), &
339-
quadratic_derivative(output, this_layer % output) &
339+
self % loss % derivative(output, this_layer % output) &
340340
)
341341
end select
342342
else

0 commit comments

Comments
 (0)