@@ -45,7 +45,7 @@ for (front_name, backend) in (
45
45
# We only define 3d conv primitives, we reshape lower down to get 1d and 2d convolution
46
46
@eval begin
47
47
# im2col-accelerated function forwarding definition
48
- @timeit_debug to function $ (Symbol (" $(front_name) !" ))(
48
+ function $ (Symbol (" $(front_name) !" ))(
49
49
out:: AbstractArray{T,5} , in1:: AbstractArray{T,5} ,
50
50
in2:: AbstractArray{T,5} , cdims:: ConvDims ; kwargs... ) where {T <: $G }
51
51
$ (Symbol (" $(front_name) _$(backend) !" ))(out, in1, in2, cdims; kwargs... )
@@ -106,7 +106,7 @@ for backend in (Symbol(), :_direct, :_im2col)
106
106
# First make auto-allocating versions of the conv()-like calls:
107
107
for name in (:conv , :depthwiseconv )
108
108
@eval begin
109
- @timeit_debug to function $ (Symbol (" $(name)$(backend) " ))(
109
+ function $ (Symbol (" $(name)$(backend) " ))(
110
110
x:: AbstractArray{xT,N} , w:: AbstractArray{wT,N} ,
111
111
cdims:: ConvDims ; kwargs... ) where {xT, wT, N}
112
112
y = similar (x, promote_type (xT, wT), output_size (cdims)... ,
@@ -118,7 +118,7 @@ for backend in (Symbol(), :_direct, :_im2col)
118
118
119
119
for name in (:∇conv_data , :∇depthwiseconv_data )
120
120
@eval begin
121
- @timeit_debug to function $ (Symbol (" $(name)$(backend) " ))(
121
+ function $ (Symbol (" $(name)$(backend) " ))(
122
122
dy:: AbstractArray{yT,N} , w:: AbstractArray{wT,N} ,
123
123
cdims:: ConvDims ; kwargs... ) where {yT, wT, N}
124
124
dx = similar (dy, input_size (cdims)... , channels_in (cdims),
@@ -131,7 +131,7 @@ for backend in (Symbol(), :_direct, :_im2col)
131
131
# We do the conv/depthwiseconv filter backprops separately, as the shape calculation
132
132
# for `w` is slightly different for depthwise than for normal dense convolution.
133
133
@eval begin
134
- @timeit_debug to function $ (Symbol (" ∇conv_filter$(backend) " ))(
134
+ function $ (Symbol (" ∇conv_filter$(backend) " ))(
135
135
x:: AbstractArray{xT,N} , dy:: AbstractArray{yT,N} ,
136
136
cdims:: ConvDims ; kwargs... ) where {xT, yT, N}
137
137
dw = similar (dy, kernel_size (cdims)... , channels_in (cdims),
@@ -141,7 +141,7 @@ for backend in (Symbol(), :_direct, :_im2col)
141
141
end
142
142
143
143
@eval begin
144
- @timeit_debug to function $ (Symbol (" ∇depthwiseconv_filter$(backend) " ))(
144
+ function $ (Symbol (" ∇depthwiseconv_filter$(backend) " ))(
145
145
x:: AbstractArray{xT,N} , dy:: AbstractArray{yT,N} ,
146
146
cdims:: ConvDims ; kwargs... ) where {xT, yT, N}
147
147
dw = similar (dy, kernel_size (cdims)... , channel_multiplier (cdims),
0 commit comments