TVM  0.9.4
IdentityFunction.h
Go to the documentation of this file.
1 
3 #pragma once
4 
6 
7 namespace tvm
8 {
9 
10 namespace function
11 {
12 
15 {
16 public:
19 
20 protected:
21  void updateValue_() override;
22  void updateVelocity_() override;
23 
24 private:
26  void A(const MatrixConstRef & A,
27  const Variable & x,
30  void A(const MatrixConstRef & A,
33  void b(const VectorConstRef & b, const tvm::internal::MatrixProperties &) override;
34 };
35 
36 } // namespace function
37 
38 } // namespace tvm
#define TVM_DLLAPI
Definition: api.h:35
Definition: Variable.h:49
Definition: BasicLinearFunction.h:22
Definition: IdentityFunction.h:15
Definition: MatrixProperties.h:17
Definition: Clock.h:12
std::shared_ptr< Variable > VariablePtr
Definition: defs.h:65
Eigen::Ref< const Eigen::VectorXd > VectorConstRef
Definition: defs.h:50
Eigen::Ref< const Eigen::MatrixXd > MatrixConstRef
Definition: defs.h:48