Add some tests and code quality badge

This commit is contained in:
2024-04-07 02:08:37 +02:00
parent df45fddd45
commit cb26ef2562
7 changed files with 57 additions and 26 deletions

View File

@@ -4,7 +4,6 @@
#include <torch/torch.h>
namespace bayesnet {
std::vector<int> argsort(std::vector<double>& nums);
std::vector<std::vector<int>> tensorToVector(torch::Tensor& dtensor);
std::vector<std::vector<double>> tensorToVectorDouble(torch::Tensor& dtensor);
torch::Tensor vectorToTensor(std::vector<std::vector<int>>& vector, bool transpose = true);
}