-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathece408net.h
35 lines (32 loc) · 899 Bytes
/
ece408net.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* CNN demo for MNIST dataset
* Author: Kai Han ([email protected])
* Details in https://github.com/iamhankai/mini-dnn-cpp
* Copyright 2018 Kai Han
*
* Modified for the ECE 408 class project
* Fall 2020
*/
#include <Eigen/Dense>
#include <algorithm>
#include <iostream>
#include <cstdlib>
#include "src/layer.h"
#include "src/layer/conv.h"
#include "src/layer/conv_cpu.h"
#include "src/layer/conv_cust.h"
#include "src/layer/fully_connected.h"
#include "src/layer/ave_pooling.h"
#include "src/layer/max_pooling.h"
#include "src/layer/relu.h"
#include "src/layer/sigmoid.h"
#include "src/layer/softmax.h"
#include "src/loss.h"
#include "src/loss/mse_loss.h"
#include "src/loss/cross_entropy_loss.h"
#include "src/mnist.h"
#include "src/network.h"
#include "src/optimizer.h"
#include "src/optimizer/sgd.h"
Network createNetwork_CPU(bool customCPUConv = false);
Network createNetwork_GPU();