Skip to content

Commit 6e57ae8

Browse files
mcabbottdarsnack
andauthored
Update src/losses/utils.jl
Co-authored-by: Kyle Daruwalla <daruwalla.k.public@icloud.com>
1 parent 316204e commit 6e57ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/losses/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ end
2727
function _check_sizes(ŷ::AbstractArray, y::AbstractArray)
2828
for d in 1:max(ndims(ŷ), ndims(y))
2929
if size(ŷ,d) != size(y,d)
30-
@warn "size mismatch in loss function! In future this will be an error. In Flux <= 0.12 broadcasting acceps this, but may not give sensible results" summary(ŷ) summary(y) maxlog=3 _id=hash(size(y))
30+
@warn "Size mismatch in loss function! In future this will be an error. In Flux <= 0.12 broadcasting accepts this, but may not give sensible results" summary(ŷ) summary(y) maxlog=3 _id=hash(size(y))
3131
end
3232
end
3333
end

0 commit comments

Comments
 (0)