Skip to content

Commit

Permalink
redundant assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
billera committed Apr 29, 2024
1 parent f72ea09 commit 313d8ca
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/layers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -245,16 +245,6 @@ function ipa_customgrad(ipa::Union{IPCrossA, IPA}, TiL::Tuple{AbstractArray,Abst
@assert size(mask,1) == size(siR, 2)
@assert size(mask,2) == size(siL, 2)
@assert siL == siR && TiL == TiR

if zij != nothing
#This is assuming the dims of zij are c, N_frames_L, N_frames_R, batch
@assert size(zij,2) == size(siR,2)
@assert size(zij,3) == size(siL,2)
end
if mask != 0
@assert size(mask,1) == size(siR, 2)
@assert size(mask,2) == size(siL, 2)
end

# Get relevant parameters from our ipa struct.
l = ipa.layers
Expand Down

0 comments on commit 313d8ca

Please sign in to comment.