遇到错误如下:
error: no matching function for call to ‘torch::jit::RegisterOperators::RegisterOperators(const char [28], )’
it::RegisterOperators(“spconv::get_indice_pairs_2d”, &spconv::getIndicePair<2>)
修改如下
用 torch::RegisterOperators()替代 torch::jit::RegisterOperator(),就好了