ARTS 2.5.11 (git: 725533f0)
tessem.h
Go to the documentation of this file.
1
8#ifndef tessem_h
9#define tessem_h
10
11#include <fstream>
12#include "matpack_data.h"
13
14struct TessemNN {
15 Index nb_inputs;
17 Index nb_cache;
18 Vector b1;
19 Vector b2;
20 Matrix w1;
21 Matrix w2;
22 Vector x_min;
23 Vector x_max;
24 Vector y_min;
25 Vector y_max;
26
27 friend std::ostream& operator<<(std::ostream& os, const TessemNN&) {return os;}
28};
29
30void tessem_read_ascii(std::ifstream& is, TessemNN& net);
31
32void tessem_prop_nn(VectorView ny, const TessemNN& net, ConstVectorView nx);
33
34#endif /* tessem_h */
Vector x_max
Definition tessem.h:23
Matrix w1
Definition tessem.h:20
Matrix w2
Definition tessem.h:21
Index nb_outputs
Definition tessem.h:16
Vector b2
Definition tessem.h:19
friend std::ostream & operator<<(std::ostream &os, const TessemNN &)
Definition tessem.h:27
Vector y_max
Definition tessem.h:25
Index nb_inputs
Definition tessem.h:15
Index nb_cache
Definition tessem.h:17
Vector y_min
Definition tessem.h:24
Vector b1
Definition tessem.h:18
Vector x_min
Definition tessem.h:22
void tessem_read_ascii(std::ifstream &is, TessemNN &net)
Definition tessem.cc:22
void tessem_prop_nn(VectorView ny, const TessemNN &net, ConstVectorView nx)
Definition tessem.cc:68