#include <InputPreprocessor.h>
Definition at line 29 of file InputPreprocessor.h.
◆ InputPreprocessor()
lwtDev::InputPreprocessor::InputPreprocessor |
( |
const std::vector< Input > & |
inputs | ) |
|
◆ operator()()
VectorXd lwtDev::InputPreprocessor::operator() |
( |
const ValueMap & |
in | ) |
const |
Definition at line 24 of file InputPreprocessor.cxx.
26 size_t input_number = 0;
27 for (
const auto& in_name:
m_names) {
28 if (!in.count(in_name)) {
29 throw NNEvaluationException(
"can't find input: " + in_name);
31 invec(input_number) = in.at(in_name);
◆ m_names
std::vector<std::string> lwtDev::InputPreprocessor::m_names |
|
private |
◆ m_offsets
VectorXd lwtDev::InputPreprocessor::m_offsets |
|
private |
◆ m_scales
VectorXd lwtDev::InputPreprocessor::m_scales |
|
private |
The documentation for this class was generated from the following files: