Add version number to Network

Remove uneeded console output
This commit is contained in:
2023-07-06 17:24:35 +02:00
parent 71b88e2c65
commit c22eba3d5c
3 changed files with 2 additions and 1 deletions

View File

@@ -226,6 +226,7 @@ int main(int argc, char** argv)
//showCPDS(network);
cout << "Score: " << network.score(Xd, y) << endl;
cout << "PyTorch version: " << TORCH_VERSION << endl;
cout << "BayesNet version: " << network.version() << endl;
unsigned int nthreads = std::thread::hardware_concurrency();
cout << "Computer has " << nthreads << " cores." << endl;
return 0;