Skip to content

Commit 1fa88c0

Browse files
committed
rm softmax method
1 parent ac3c880 commit 1fa88c0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/nnpack/interface.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@ function check_support(x, k, pad, stride, dilation = 1)
66
return pad_, stride_, fallback
77
end
88

9-
softmax!(x::A) where A<:AbstractVecOrMat{Float32} =
10-
nnp_softmax_output(x, x)
11-
129
softmax!(y::A, x::A) where A<:AbstractVecOrMat{Float32} =
1310
nnp_softmax_output(x, y)
1411

15-
softmax(x::A) where A<:AbstractVecOrMat{Float32} =
16-
nnp_softmax_output(x, similar(x))
17-
1812
function maxpool(x::A, k; pad = map(_->0,k), stride = k) where A<:AbstractArray{Float32, 4}
1913
pad_, stride_, fallback = check_support(x, k, pad, stride)
2014
if fallback

0 commit comments

Comments
 (0)