File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ where
76
76
& mut temp as * mut af_array ,
77
77
signal. get ( ) ,
78
78
filter. get ( ) ,
79
- strides . ndims ( ) as c_uint ,
79
+ 4 ,
80
80
strides. get ( ) . as_ptr ( ) as * const dim_t ,
81
- padding . ndims ( ) as c_uint ,
81
+ 4 ,
82
82
padding. get ( ) . as_ptr ( ) as * const dim_t ,
83
- dilation . ndims ( ) as c_uint ,
83
+ 4 ,
84
84
dilation. get ( ) . as_ptr ( ) as * const dim_t ,
85
85
) ;
86
86
HANDLE_ERROR ( AfError :: from ( err_val) ) ;
@@ -126,11 +126,11 @@ where
126
126
original_signal. get ( ) ,
127
127
original_filter. get ( ) ,
128
128
convolved_output. get ( ) ,
129
- strides . ndims ( ) as c_uint ,
129
+ 4 ,
130
130
strides. get ( ) . as_ptr ( ) as * const dim_t ,
131
- padding . ndims ( ) as c_uint ,
131
+ 4 ,
132
132
padding. get ( ) . as_ptr ( ) as * const dim_t ,
133
- dilation . ndims ( ) as c_uint ,
133
+ 4 ,
134
134
dilation. get ( ) . as_ptr ( ) as * const dim_t ,
135
135
grad_type as c_uint ,
136
136
) ;
You can’t perform that action at this time.
0 commit comments