DaNNet
dnn.h
Go to the documentation of this file.
1
// Copyright 2019 Claes Rolen (www.rolensystems.com)
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
// Version
16
// 1.0.2 Claes Rolén 2019-02-13 Typecasts to get rid of windows warnings
17
// 1.0.1 Claes Rolén 2019-02-06 First version
18
19
#pragma once
20
#include <armadillo>
21
22
namespace
dnn
23
{
24
#define DNN_VERSION_MAJOR 1
25
#define DNN_VERSION_MINOR 0
26
#define DNN_VERSION_PATCH 2
27
28
typedef
float
DNN_Dtype
;
29
//typedef double DNN_Dtype;
30
31
enum class
PARAM_FORMAT
{
AUTO
,
ASCII
,
BIN
,
HDF5
};
32
enum class
INIT_W_ALG
{
LECUN
,
XAVIER
,
HE
,
SIN
};
33
enum class
INIT_W_DIST
{
NORMAL
,
UNIFORM
,
NONE
};
34
enum class
PHASE
{
TRAIN
,
TEST
,
PRED
};
35
enum class
LR_ALG
{
CONST
,
TIME_DECAY
,
STEP_DECAY
,
EXP_DECAY
};
36
}
37
38
#include "
dnn_misc.h
"
39
#include "
dnn_opt.h
"
40
#include "
dnn_layer.h
"
41
#include "
dnn_net.h
"
42
dnn::PHASE::PRED
dnn::PARAM_FORMAT::HDF5
dnn::LR_ALG::CONST
dnn::PHASE
PHASE
Definition:
dnn.h:34
dnn::PHASE::TRAIN
dnn::INIT_W_DIST::NONE
dnn::LR_ALG::EXP_DECAY
dnn::PARAM_FORMAT
PARAM_FORMAT
Definition:
dnn.h:31
dnn::PARAM_FORMAT::BIN
dnn::PHASE::TEST
dnn::INIT_W_ALG::HE
dnn::INIT_W_ALG::SIN
dnn::INIT_W_DIST::NORMAL
dnn::LR_ALG::STEP_DECAY
dnn::LR_ALG::TIME_DECAY
dnn::INIT_W_DIST
INIT_W_DIST
Definition:
dnn.h:33
dnn::INIT_W_DIST::UNIFORM
dnn::DNN_Dtype
float DNN_Dtype
Data type used in the network (float or double)
Definition:
dnn.h:28
dnn::LR_ALG
LR_ALG
Definition:
dnn.h:35
dnn_layer.h
dnn_opt.h
dnn
Definition:
dnn.h:22
dnn::INIT_W_ALG
INIT_W_ALG
Definition:
dnn.h:32
dnn::PARAM_FORMAT::ASCII
dnn_net.h
dnn::INIT_W_ALG::LECUN
dnn::PARAM_FORMAT::AUTO
dnn_misc.h
dnn::INIT_W_ALG::XAVIER
Generated on Thu Feb 14 2019 00:17:51 for DaNNet by
1.8.13