#include <umbridge.h>
Definition at line 19 of file umbridge.h.
Public Member Functions | |
Model (std::string name) | |
virtual std::vector< std::size_t > | GetInputSizes (const json &config_json=json()) const =0 |
virtual std::vector< std::size_t > | GetOutputSizes (const json &config_json=json()) const =0 |
virtual std::vector< std::vector< double > > | Evaluate (const std::vector< std::vector< double >> &inputs, json config_json=json()) |
virtual std::vector< double > | Gradient (unsigned int outWrt, unsigned int inWrt, const std::vector< std::vector< double >> &inputs, const std::vector< double > &sens, json config_json=json()) |
virtual std::vector< double > | ApplyJacobian (unsigned int outWrt, unsigned int inWrt, const std::vector< std::vector< double >> &inputs, const std::vector< double > &vec, json config_json=json()) |
virtual std::vector< double > | ApplyHessian (unsigned int outWrt, unsigned int inWrt1, unsigned int inWrt2, const std::vector< std::vector< double >> &inputs, const std::vector< double > &sens, const std::vector< double > &vec, json config_json=json()) |
virtual bool | SupportsEvaluate () |
virtual bool | SupportsGradient () |
virtual bool | SupportsApplyJacobian () |
virtual bool | SupportsApplyHessian () |
std::string | GetName () const |
|
inline |
Definition at line 21 of file umbridge.h.
|
inlinevirtual |
Reimplemented in umbridge::HTTPModel, and muq::Modeling::UMBridgeModPieceWrapper.
Definition at line 50 of file umbridge.h.
Referenced by umbridge::serveModels().
|
inlinevirtual |
Reimplemented in umbridge::HTTPModel, and muq::Modeling::UMBridgeModPieceWrapper.
Definition at line 41 of file umbridge.h.
Referenced by umbridge::serveModels().
|
inlinevirtual |
Reimplemented in umbridge::HTTPModel, and muq::Modeling::UMBridgeModPieceWrapper.
Definition at line 26 of file umbridge.h.
Referenced by umbridge::serveModels().
|
pure virtual |
Implemented in muq::Modeling::UMBridgeModPieceWrapper, and umbridge::HTTPModel.
Referenced by umbridge::check_input_sizes(), umbridge::check_input_wrt(), umbridge::check_vector_size(), and umbridge::serveModels().
|
inline |
Definition at line 66 of file umbridge.h.
References name.
|
inlinevirtual |
Reimplemented in umbridge::HTTPModel, and muq::Modeling::UMBridgeModPieceWrapper.
Definition at line 32 of file umbridge.h.
Referenced by umbridge::serveModels().
|
inlinevirtual |
Reimplemented in muq::Modeling::UMBridgeModPieceWrapper, and umbridge::HTTPModel.
Definition at line 64 of file umbridge.h.
Referenced by umbridge::serveModels().
|
inlinevirtual |
Reimplemented in muq::Modeling::UMBridgeModPieceWrapper, and umbridge::HTTPModel.
Definition at line 63 of file umbridge.h.
Referenced by umbridge::serveModels().
|
inlinevirtual |
Reimplemented in muq::Modeling::UMBridgeModPieceWrapper, and umbridge::HTTPModel.
Definition at line 61 of file umbridge.h.
Referenced by umbridge::serveModels().
|
inlinevirtual |
Reimplemented in muq::Modeling::UMBridgeModPieceWrapper, and umbridge::HTTPModel.
Definition at line 62 of file umbridge.h.
Referenced by umbridge::serveModels().
|
protected |
Definition at line 69 of file umbridge.h.
Referenced by umbridge::HTTPModel::ApplyHessian(), umbridge::HTTPModel::ApplyJacobian(), umbridge::HTTPModel::Evaluate(), umbridge::HTTPModel::GetInputSizes(), GetName(), umbridge::HTTPModel::GetOutputSizes(), umbridge::HTTPModel::Gradient(), and umbridge::HTTPModel::HTTPModel().