mirror of
https://github.com/Relintai/pmlpp.git
synced 2025-01-02 16:29:35 +01:00
Comment out everything in MLPPTensor3 temporarily.
This commit is contained in:
parent
624fd34433
commit
dbe25ef093
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
#include "mlpp_tensor3.h"
|
#include "mlpp_tensor3.h"
|
||||||
|
|
||||||
|
/*
|
||||||
String MLPPTensor3::to_string() {
|
String MLPPTensor3::to_string() {
|
||||||
String str;
|
String str;
|
||||||
|
|
||||||
@ -21,7 +22,9 @@ String MLPPTensor3::to_string() {
|
|||||||
|
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
std::vector<real_t> MLPPTensor3::to_flat_std_vector() const {
|
std::vector<real_t> MLPPTensor3::to_flat_std_vector() const {
|
||||||
std::vector<real_t> ret;
|
std::vector<real_t> ret;
|
||||||
ret.resize(data_size());
|
ret.resize(data_size());
|
||||||
@ -93,8 +96,10 @@ MLPPTensor3::MLPPTensor3(const std::vector<std::vector<real_t>> &p_from) {
|
|||||||
|
|
||||||
set_from_std_vectors(p_from);
|
set_from_std_vectors(p_from);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
void MLPPTensor3::_bind_methods() {
|
void MLPPTensor3::_bind_methods() {
|
||||||
|
/*
|
||||||
ClassDB::bind_method(D_METHOD("add_row", "row"), &MLPPTensor3::add_row_pool_vector);
|
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_row_mlpp_vector", "row"), &MLPPTensor3::add_row_mlpp_vector);
|
||||||
ClassDB::bind_method(D_METHOD("add_rows_mlpp_matrix", "other"), &MLPPTensor3::add_rows_mlpp_matrix);
|
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("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);
|
ClassDB::bind_method(D_METHOD("is_equal_approx", "with", "tolerance"), &MLPPTensor3::is_equal_approx, CMP_EPSILON);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@ class MLPPTensor3 : public Reference {
|
|||||||
GDCLASS(MLPPTensor3, Reference);
|
GDCLASS(MLPPTensor3, Reference);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
/*
|
||||||
real_t *ptrw() {
|
real_t *ptrw() {
|
||||||
return _data;
|
return _data;
|
||||||
}
|
}
|
||||||
@ -613,12 +614,15 @@ public:
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
String to_string();
|
//String to_string();
|
||||||
|
|
||||||
_FORCE_INLINE_ MLPPTensor3() {
|
_FORCE_INLINE_ MLPPTensor3() {
|
||||||
_data = NULL;
|
_data = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
_FORCE_INLINE_ MLPPTensor3(const MLPPMatrix &p_from) {
|
_FORCE_INLINE_ MLPPTensor3(const MLPPMatrix &p_from) {
|
||||||
_data = NULL;
|
_data = NULL;
|
||||||
|
|
||||||
@ -653,7 +657,7 @@ public:
|
|||||||
std::vector<std::vector<real_t>> to_std_vector();
|
std::vector<std::vector<real_t>> to_std_vector();
|
||||||
void set_row_std_vector(int p_index_y, const std::vector<real_t> &p_row);
|
void set_row_std_vector(int p_index_y, const std::vector<real_t> &p_row);
|
||||||
MLPPTensor3(const std::vector<std::vector<real_t>> &p_from);
|
MLPPTensor3(const std::vector<std::vector<real_t>> &p_from);
|
||||||
|
*/
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user