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
8namespace txeo {
9
14struct DeviceInfo {
19 std::string name{};
20
25 std::string device_type{};
26
31 size_t memory_limit{};
32};
33
39
44enum class LossFunc { MSE, MAE, MSLE, LCHE };
45
46} // namespace txeo
47
48#endif
NormalizationType
Normalization types to be used in normalization functions.
Definition types.h:38
LossFunc
Types of loss functions.
Definition types.h:44
Bundle of device information.
Definition types.h:14
std::string name
Device name.
Definition types.h:19
size_t memory_limit
Memory limit in bytes.
Definition types.h:31
std::string device_type
Device type (CPU or GPU)
Definition types.h:25