mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-11-13 13:57:19 +01:00
Registered MLPPLinAlg into the ClassDB, and fixed all of it's warnings.
This commit is contained in:
parent
34f81277cd
commit
f459384282
File diff suppressed because it is too large
Load Diff
@ -12,13 +12,17 @@
|
|||||||
|
|
||||||
#include "core/math/math_defs.h"
|
#include "core/math/math_defs.h"
|
||||||
|
|
||||||
|
#include "core/object/reference.h"
|
||||||
|
|
||||||
#include "../lin_alg/mlpp_matrix.h"
|
#include "../lin_alg/mlpp_matrix.h"
|
||||||
#include "../lin_alg/mlpp_vector.h"
|
#include "../lin_alg/mlpp_vector.h"
|
||||||
|
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class MLPPLinAlg {
|
class MLPPLinAlg : public Reference {
|
||||||
|
GDCLASS(MLPPLinAlg, Reference);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// MATRIX FUNCTIONS
|
// MATRIX FUNCTIONS
|
||||||
|
|
||||||
@ -326,7 +330,8 @@ public:
|
|||||||
|
|
||||||
std::vector<std::vector<std::vector<real_t>>> vector_wise_tensor_product(std::vector<std::vector<std::vector<real_t>>> A, std::vector<std::vector<real_t>> B);
|
std::vector<std::vector<std::vector<real_t>>> vector_wise_tensor_product(std::vector<std::vector<std::vector<real_t>>> A, std::vector<std::vector<real_t>> B);
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
|
static void _bind_methods();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* LinAlg_hpp */
|
#endif /* LinAlg_hpp */
|
@ -32,6 +32,7 @@ SOFTWARE.
|
|||||||
#include "mlpp/cost/cost.h"
|
#include "mlpp/cost/cost.h"
|
||||||
#include "mlpp/gauss_markov_checker/gauss_markov_checker.h"
|
#include "mlpp/gauss_markov_checker/gauss_markov_checker.h"
|
||||||
#include "mlpp/hypothesis_testing/hypothesis_testing.h"
|
#include "mlpp/hypothesis_testing/hypothesis_testing.h"
|
||||||
|
#include "mlpp/lin_alg/lin_alg.h"
|
||||||
#include "mlpp/numerical_analysis/numerical_analysis.h"
|
#include "mlpp/numerical_analysis/numerical_analysis.h"
|
||||||
#include "mlpp/regularization/reg.h"
|
#include "mlpp/regularization/reg.h"
|
||||||
#include "mlpp/stat/stat.h"
|
#include "mlpp/stat/stat.h"
|
||||||
@ -84,6 +85,7 @@ void register_pmlpp_types(ModuleRegistrationLevel p_level) {
|
|||||||
ClassDB::register_class<MLPPHypothesisTesting>();
|
ClassDB::register_class<MLPPHypothesisTesting>();
|
||||||
ClassDB::register_class<MLPPGaussMarkovChecker>();
|
ClassDB::register_class<MLPPGaussMarkovChecker>();
|
||||||
ClassDB::register_class<MLPPConvolutions>();
|
ClassDB::register_class<MLPPConvolutions>();
|
||||||
|
ClassDB::register_class<MLPPLinAlg>();
|
||||||
|
|
||||||
ClassDB::register_class<MLPPHiddenLayer>();
|
ClassDB::register_class<MLPPHiddenLayer>();
|
||||||
ClassDB::register_class<MLPPOutputLayer>();
|
ClassDB::register_class<MLPPOutputLayer>();
|
||||||
|
Loading…
Reference in New Issue
Block a user