mpl.pytorch icon indicating copy to clipboard operation
mpl.pytorch copied to clipboard

Could you please upload the C++ implementation ?

Open whitesockcat opened this issue 7 years ago • 3 comments

fail to find the C++ implementation of your code, could you please upload the C++ implementation ?

whitesockcat avatar May 02 '18 13:05 whitesockcat

Hi, what do you mean 'C++ implementation'? There are C implementation of compute_weights function, it can be found here: https://github.com/BelBES/mpl.pytorch/blob/master/mpl/src/lib_mpl.cpp

bes-dev avatar May 04 '18 09:05 bes-dev

Thanks for your help and patience. According to the cpp code. I write a python code including compute_weights function, which requiring pytorch 4.0 . It can be easier for running. If it is convenient, I would be glad to contribute.

whitesockcat avatar May 22 '18 11:05 whitesockcat

I'm not sure what do you mean: would you like clean c++ API without pytorch? For example using numpy API for compute_weight function? It's good idea, if you'll implement it it will be great.

bes-dev avatar May 22 '18 11:05 bes-dev