Skip to content

Commit f02a6fd

Browse files
committed
nf_dense_layer: removed unused set_params
1 parent 6ed81fd commit f02a6fd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/nf/nf_dense_layer.f90

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@ module subroutine get_gradients_ptr(self, dw_ptr, db_ptr)
9898
real, pointer, intent(out) :: db_ptr(:)
9999
end subroutine get_gradients_ptr
100100

101-
module subroutine set_params(self, params)
102-
!! Set the parameters of this layer.
103-
!! The parameters are ordered as weights first, biases second.
104-
class(dense_layer), intent(in out) :: self
105-
!! Dense layer instance
106-
real, intent(in), target :: params(:)
107-
!! Parameters of this layer
108-
end subroutine set_params
109-
110101
module subroutine init(self, input_shape)
111102
!! Initialize the layer data structures.
112103
!!

0 commit comments

Comments
 (0)