a550461053 commented on issue #17539: implement a c++ operator using other 
outside functions in 'so' file
URL: 
https://github.com/apache/incubator-mxnet/issues/17539#issuecomment-593783535
 
 
   > > Hi @a550461053 are you able to resolve the problem based on the 
discussion in [#17486 
(comment)](https://github.com/apache/incubator-mxnet/pull/17486#issuecomment-586640766)
   > 
   > I implement a mxnet backend operator and use 'dlopen' to load 'so' file in 
'xxx-inl.h' first forward function. It's ok.
   > But I have another problem: I inherit the mxnet operator to implement my 
XXX op, it's ok. But I want to use 'NDArray' as the input of forward function 
instead of 'TBlob' for using the dependencies. When I try the 
`NNVM_REGISTER_OP(_contrib_xxx).set_attr<FComputeEx>("FComputeEx<cpu>", 
XXX<cpu>);`, test the XXX operator in python, got `_contrib_XXX is not 
implemented for CPU.` Do you have any ideas?
   
   This new problem has been found: `NNVM_REGISTER_OP` should assign 
`DispatchMode::kFComputeEx` when using `FComputeEx` .
   

----------------------------------------------------------------
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