Skip to content

Commit

Permalink
gpu test
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush1999 committed Apr 7, 2019
1 parent a4e2d0e commit 7cc3006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Flux.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ using Base: tail
using MacroTools, Juno, Requires, Reexport, Statistics, Random
using MacroTools: @forward

export Chain, Dense, Maxout, RNN, LSTM, GRU, Conv, ConvTranspose, MaxPool, MeanPool,
export Chain, Dense, Maxout, RNN, LSTM, GRU, Conv, CrossCor, ConvTranspose, MaxPool, MeanPool,
DepthwiseConv, Dropout, AlphaDropout, LayerNorm, BatchNorm, InstanceNorm, GroupNorm,
params, mapleaves, cpu, gpu, f32, f64, CrossCor
params, mapleaves, cpu, gpu, f32, f64

@reexport using NNlib

Expand Down
5 changes: 0 additions & 5 deletions src/layers/conv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,6 @@ struct CrossCor{N,F,A,V}
dilation::NTuple{N,Int}
end

function crosscor(x, w, d)

return conv(x, w, DenseConvDims(d))
end

CrossCor(w::AbstractArray{T,N}, b::AbstractVector{T}, σ = identity;
stride = 1, pad = 0, dilation = 1) where {T,N} =
CrossCor(σ, w, b, expand.(sub2(Val(N)), (stride, pad, dilation))...)
Expand Down

0 comments on commit 7cc3006

Please sign in to comment.