Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
adding reservoircomputing initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinuzziFrancesco committed Mar 10, 2024
1 parent ed1bddf commit f453b9b
Show file tree
Hide file tree
Showing 2 changed files with 579 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/WeightInitializers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ end

include("utils.jl")
include("initializers.jl")
include("rc_initializers.jl")

# Mark the functions as non-differentiable
for f in [
Expand Down Expand Up @@ -43,7 +44,17 @@ for f in [
:truncated_normal,
:orthogonal,
:sparse_init,
:identity_init
:identity_init,
:rand_sparse,
:delay_line,
:delay_line_backward,
:cycle_jumps,
:simple_cycle,
:pseudo_svd,
:scaled_rand,
:weighted_init,
:informed_init,
:minimal_init
]
@eval @non_differentiable $(f)(::Any...)
end
Expand All @@ -58,5 +69,7 @@ export truncated_normal
export orthogonal
export sparse_init
export identity_init
export scaled_rand, weighted_init, informed_init, minimal_init
export rand_sparse, delay_line, delay_line_backward, cycle_jumps, simple_cycle, pseudo_svd

end
Loading

0 comments on commit f453b9b

Please sign in to comment.