Skip to content

TonyzBi/libtorch-mnist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

libtorch-mnist

cmake -DCUDA_HOST_COMPILER=/usr/bin/gcc-5 -DCMAKE_PREFIX_PATH=/path/to/libtorch ..

You need to call the fuction as following:

  • train(epoch, options, model, device, *train_loader, optimizer, dataset_size.value());
  • test(model, device, *test_loader, dataset_size.value());

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published