Project
include
config.h
Go to the documentation of this file.
1
#ifndef CONFIG_H
2
#define CONFIG_H
3
9
#include "spdlog/sinks/basic_file_sink.h"
10
#include "spdlog/spdlog.h"
11
20
struct
Config
{
21
std::shared_ptr<spdlog::logger>
22
logger
;
23
std::string
data_dir
=
"../data/"
;
24
std::string log_file =
"../logs/app_log.txt"
;
25
int
model_batch_size
= 50;
26
int
max_iterations
=
27
100;
28
int
n_profile_update
=
29
20;
30
std::string dataset =
""
;
31
std::string output =
""
;
32
};
33
34
#endif
Config
High level configuration of the app.
Definition:
config.h:20
Config::model_batch_size
int model_batch_size
Definition:
config.h:25
Config::max_iterations
int max_iterations
Definition:
config.h:26
Config::data_dir
std::string data_dir
Definition:
config.h:23
Config::logger
std::shared_ptr< spdlog::logger > logger
Definition:
config.h:22
Config::n_profile_update
int n_profile_update
Definition:
config.h:28
Generated by
1.9.1