Skip to content

Commit

Permalink
Test even more dimensions
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Abbott <32575566+mcabbott@users.noreply.github.com>
  • Loading branch information
ToucheSir and mcabbott authored Jun 27, 2021
1 parent 7f6d899 commit 2c1f05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/softmax.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@testset "softmax" begin
for (sz, dims) in [((5,), :), ((5,), 1), ((5,5), :), ((5,5), 1), ((5,5), 2)]
for (sz, dims) in [((5,), :), ((5,), 1), ((5,5), :), ((5,5), 1), ((5,5), 2), ((5,5,5,5), (2,3)), ((5,5,5,5), (2,4))]
x = randn(Float64, sz)
y = softmax(x, dims=dims)
dy = randn(Float64, sz)
Expand Down

0 comments on commit 2c1f05c

Please sign in to comment.