Txeo
v0.1
A Developer-Friendly TensorFlow C++ Wrapper
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1
#ifndef TYPES_H
2
#define TYPES_H
3
4
#pragma once
5
6
#include <string>
7
8
namespace
txeo
{
9
14
struct
DeviceInfo
{
19
std::string
name
{};
20
25
std::string
device_type
{};
26
31
size_t
memory_limit
{};
32
};
33
38
enum class
NormalizationType
{
MIN_MAX
,
Z_SCORE
};
39
44
enum class
LossFunc
{
MSE
,
MAE
,
MSLE
,
LCHE
};
45
46
}
// namespace txeo
47
48
#endif
txeo
Definition
DataTable.h:11
txeo::NormalizationType
NormalizationType
Normalization types to be used in normalization functions.
Definition
types.h:38
txeo::NormalizationType::MIN_MAX
@ MIN_MAX
txeo::NormalizationType::Z_SCORE
@ Z_SCORE
txeo::LossFunc
LossFunc
Types of loss functions.
Definition
types.h:44
txeo::LossFunc::LCHE
@ LCHE
txeo::LossFunc::MSE
@ MSE
txeo::LossFunc::MAE
@ MAE
txeo::LossFunc::MSLE
@ MSLE
txeo::DeviceInfo
Bundle of device information.
Definition
types.h:14
txeo::DeviceInfo::name
std::string name
Device name.
Definition
types.h:19
txeo::DeviceInfo::memory_limit
size_t memory_limit
Memory limit in bytes.
Definition
types.h:31
txeo::DeviceInfo::device_type
std::string device_type
Device type (CPU or GPU)
Definition
types.h:25
include
txeo
types.h
Generated by
1.9.8