6 :
ModPiece(baseModPiece->inputSizes, baseModPiece->outputSizes),
7 baseModPiece(baseModPiece),
21 for (
int i = 0; i < input.size(); i++) {
40 for (
int i = 0; i < input.size(); i++) {
Provides an abstract interface for defining vector-valued model components.
std::vector< Eigen::VectorXd > outputs
OneStepCachePiece(std::shared_ptr< ModPiece > baseModPiece, const double &prec=Eigen::NumTraits< double >::dummy_precision())
std::shared_ptr< ModPiece > baseModPiece
std::vector< Eigen::VectorXd > lastInput
virtual void EvaluateImpl(ref_vector< Eigen::VectorXd > const &input) override
std::vector< Eigen::VectorXd > lastOutputs
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())