masahi commented on issue #4418: [RUNTIME] Add cudnn conv3d
URL: https://github.com/apache/incubator-tvm/pull/4418#issuecomment-559415852
 
 
   Are you passing python lists? I think you can pass numpy arrays (not list) 
by void pointer using _get_np_int32_array_handle(). So it should be something 
like
   
   ```
   _get_np_int32_array_handle(dims),
   _get_np_int32_array_handle(pad),
   _get_np_int32_array_handle(stride),
   _get_np_int32_array_handle(dilation)
   ```
   assuming dims, pad, etc are numpy array. See 
[conv2d_output_shape](https://github.com/apache/incubator-tvm/blob/master/python/tvm/contrib/cudnn.py#L238)
 for example of using _get_np_int32_array_handle.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to