Skip to content

Commit

Permalink
reshape T
Browse files Browse the repository at this point in the history
  • Loading branch information
billera committed Apr 29, 2024
1 parent cc000ad commit 7c5d7f1
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 @@ -247,7 +247,7 @@ function ipa_customgrad(ipa::Union{IPCrossA, IPA}, Ti::Tuple{AbstractArray,Abstr
else
use_softmax1 = false
end
TiL = TiR = Ti
TiL = TiR = (Ti[1], reshape(Ti[2], size(Ti[2],1), 1, size(Ti[2])[2:end]...))
siL = siR = S
rot_TiL, translate_TiL = TiL
rot_TiR, translate_TiR = TiR
Expand Down

0 comments on commit 7c5d7f1

Please sign in to comment.