Skip to content

Commit

Permalink
add arg
Browse files Browse the repository at this point in the history
  • Loading branch information
billera authored Dec 31, 2024
1 parent fb93638 commit 2923050
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 @@ -268,7 +268,7 @@ function (ipa::Union{IPCrossA, IPA})(
return si
end

function ipa_customgrad(ipa::Union{IPCrossA, IPA}, Ti::Tuple{AbstractArray,AbstractArray}, S::AbstractArray, zij::AbstractArray, mask::AbstractArray, rope::Union{IPARoPE, Nothing} = nothing)
function ipa_customgrad(ipa::Union{IPCrossA, IPA}, Ti::Tuple{AbstractArray,AbstractArray}, S::AbstractArray, zij::AbstractArray, mask::AbstractArray, rope::Union{IPARoPE, Nothing} = nothing, chain_diffs = 1)
# Get relevant parameters from our ipa struct.
l = ipa.layers
dims, c, N_head, N_query_points, N_point_values, c_z, Typ, pairwise = ipa.settings
Expand Down

0 comments on commit 2923050

Please sign in to comment.