File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ where
7676 & mut temp as * mut af_array ,
7777 signal. get ( ) ,
7878 filter. get ( ) ,
79- strides . ndims ( ) as c_uint ,
79+ 4 ,
8080 strides. get ( ) . as_ptr ( ) as * const dim_t ,
81- padding . ndims ( ) as c_uint ,
81+ 4 ,
8282 padding. get ( ) . as_ptr ( ) as * const dim_t ,
83- dilation . ndims ( ) as c_uint ,
83+ 4 ,
8484 dilation. get ( ) . as_ptr ( ) as * const dim_t ,
8585 ) ;
8686 HANDLE_ERROR ( AfError :: from ( err_val) ) ;
@@ -126,11 +126,11 @@ where
126126 original_signal. get ( ) ,
127127 original_filter. get ( ) ,
128128 convolved_output. get ( ) ,
129- strides . ndims ( ) as c_uint ,
129+ 4 ,
130130 strides. get ( ) . as_ptr ( ) as * const dim_t ,
131- padding . ndims ( ) as c_uint ,
131+ 4 ,
132132 padding. get ( ) . as_ptr ( ) as * const dim_t ,
133- dilation . ndims ( ) as c_uint ,
133+ 4 ,
134134 dilation. get ( ) . as_ptr ( ) as * const dim_t ,
135135 grad_type as c_uint ,
136136 ) ;
You can’t perform that action at this time.
0 commit comments