Skip to content

Instantly share code, notes, and snippets.

@marty1885
Last active May 30, 2018 00:45
Show Gist options
  • Save marty1885/cb8a6143acb46ad6afdd760a503c3eeb to your computer and use it in GitHub Desktop.
Save marty1885/cb8a6143acb46ad6afdd760a503c3eeb to your computer and use it in GitHub Desktop.
tinydnn-tut
//tiny-dnn headers
#define CNN_USE_AVX
#include <tiny_dnn/tiny_dnn.h>
using namespace tiny_dnn;
using namespace tiny_dnn::activation;
using namespace tiny_dnn::layers;
//tiny-dnn comes with xtensor, use it
#include <tiny_dnn/xtensor/xnpy.hpp>
#include <tiny_dnn/xtensor/xview.hpp>
#include <tiny_dnn/xtensor/xsort.hpp>
#include <iostream>
#include <random>
#include <tuple>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment