Skip to content

Commit

Permalink
add cap to gamma_h
Browse files Browse the repository at this point in the history
  • Loading branch information
billera authored Feb 10, 2024
1 parent f559e5c commit 7b3b4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function (ipa::Union{IPCrossA, IPA})(TiL::Tuple{AbstractArray,AbstractArray}, si
N_frames_L = size(siL,2)
N_frames_R = size(siR,2)

gamma_h = softplus(l.gamma_h)
gamma_h = min.(softplus(l.gamma_h),1f3)

w_C = Typ(sqrt(2/(9*N_query_points)))
dim_scale = Typ(1/sqrt(c))
Expand Down

0 comments on commit 7b3b4a0

Please sign in to comment.