#include <VLNEnergyModel.h>
Definition at line 13 of file VLNEnergyModel.h.
VLN::VLNEnergyModel::VLNEnergyModel |
( |
const std::string & |
savedir | ) |
|
|
explicit |
Definition at line 21 of file VLNEnergyModel.cxx.
static const std::vector< std::string > outputKeys
static const std::vector< InputConfigKeys > scalarInputKeys
static const std::vector< InputConfigKeys > vectorInputKeys
Definition at line 25 of file VLNEnergyModel.cxx.
27 std::vector<tensorflow::Tensor>
outputs =
model.predict(vars);
29 const float primaryE = outputs[0].tensor<
float,2>()(0, 0);
30 const float totalE = outputs[1].tensor<
float,2>()(0, 0);
32 return VLNEnergy{ primaryE, totalE };
The documentation for this class was generated from the following files: