From dbe25ef0934e0cf78569941026aca2c2c3482578 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 16 Apr 2023 16:23:21 +0200 Subject: [PATCH] Comment out everything in MLPPTensor3 temporarily. --- mlpp/lin_alg/mlpp_tensor3.cpp | 6 ++++++ mlpp/lin_alg/mlpp_tensor3.h | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/mlpp/lin_alg/mlpp_tensor3.cpp b/mlpp/lin_alg/mlpp_tensor3.cpp index 91073c5..f1308d7 100644 --- a/mlpp/lin_alg/mlpp_tensor3.cpp +++ b/mlpp/lin_alg/mlpp_tensor3.cpp @@ -1,6 +1,7 @@ #include "mlpp_tensor3.h" +/* String MLPPTensor3::to_string() { String str; @@ -21,7 +22,9 @@ String MLPPTensor3::to_string() { return str; } +*/ +/* std::vector MLPPTensor3::to_flat_std_vector() const { std::vector ret; ret.resize(data_size()); @@ -93,8 +96,10 @@ MLPPTensor3::MLPPTensor3(const std::vector> &p_from) { set_from_std_vectors(p_from); } +*/ void MLPPTensor3::_bind_methods() { + /* ClassDB::bind_method(D_METHOD("add_row", "row"), &MLPPTensor3::add_row_pool_vector); ClassDB::bind_method(D_METHOD("add_row_mlpp_vector", "row"), &MLPPTensor3::add_row_mlpp_vector); ClassDB::bind_method(D_METHOD("add_rows_mlpp_matrix", "other"), &MLPPTensor3::add_rows_mlpp_matrix); @@ -134,4 +139,5 @@ void MLPPTensor3::_bind_methods() { ClassDB::bind_method(D_METHOD("set_from_mlpp_matrix", "from"), &MLPPTensor3::set_from_mlpp_matrix); ClassDB::bind_method(D_METHOD("is_equal_approx", "with", "tolerance"), &MLPPTensor3::is_equal_approx, CMP_EPSILON); + */ } diff --git a/mlpp/lin_alg/mlpp_tensor3.h b/mlpp/lin_alg/mlpp_tensor3.h index 0b92c4d..8b1b971 100644 --- a/mlpp/lin_alg/mlpp_tensor3.h +++ b/mlpp/lin_alg/mlpp_tensor3.h @@ -19,6 +19,7 @@ class MLPPTensor3 : public Reference { GDCLASS(MLPPTensor3, Reference); public: + /* real_t *ptrw() { return _data; } @@ -613,12 +614,15 @@ public: return true; } + */ - String to_string(); + //String to_string(); _FORCE_INLINE_ MLPPTensor3() { _data = NULL; } + + /* _FORCE_INLINE_ MLPPTensor3(const MLPPMatrix &p_from) { _data = NULL; @@ -653,7 +657,7 @@ public: std::vector> to_std_vector(); void set_row_std_vector(int p_index_y, const std::vector &p_row); MLPPTensor3(const std::vector> &p_from); - + */ protected: static void _bind_methods();