Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
milancurcic committed Aug 24, 2023
1 parent 17b0610 commit 7fb69f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/nf/nf_batchnorm_layer_submodule.f90
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ pure module subroutine forward(self, input)
implicit none
class(batchnorm_layer), intent(in out) :: self
real, intent(in) :: input(:,:)
!real, allocatable :: normalized_input(:,:)

! Store input for backward pass
self % input = input
Expand All @@ -59,9 +58,6 @@ pure module subroutine forward(self, input)

end associate

! Deallocate temporary array
!deallocate(normalized_input)

end subroutine forward

pure module subroutine backward(self, input, gradient)
Expand Down

0 comments on commit 7fb69f2

Please sign in to comment.