9 #ifndef MLPACK_BINDINGS_TESTS_MLPACK_MAIN_HPP 10 #define MLPACK_BINDINGS_TESTS_MLPACK_MAIN_HPP 13 #error "BINDING_TYPE not defined! Don't include this file directly!" 15 #if BINDING_TYPE != BINDING_TYPE_TEST 16 #error "BINDING_TYPE is not set to BINDING_TYPE_TEST!" 20 #define BINDING_MATRIX_TRANSPOSED false 27 #define PRINT_PARAM_STRING(A) std::string(" ") 28 #define PRINT_PARAM_VALUE(A, B) std::string(" ") 29 #define PRINT_DATASET(A) std::string(" ") 30 #define PRINT_MODEL(A) std::string(" ") 31 #define PRINT_CALL(...) std::string(" ") 32 #define BINDING_IGNORE_CHECK mlpack::bindings::tests::IgnoreCheck 33 #define IMPORT_EXT_LIB(...) std::string(" ") 34 #define IMPORT_SPLIT(...) std::string(" ") 35 #define IMPORT_THIS(...) std::string(" ") 36 #define GET_DATASET(...) std::string(" ") 37 #define SPLIT_TRAIN_TEST(...) std::string(" ") 38 #define CREATE_OBJECT(...) std::string(" ") 39 #define CALL_METHOD(...) std::string(" ") 56 #undef BINDING_FUNCTION 57 #define BINDING_FUNCTION(...) JOIN(mlpack_test_, BINDING_NAME)(__VA_ARGS__)
Linear algebra utility functions, generally performed on matrices or vectors.
mlpack::bindings::cli::CLIOption< T > Option
A static object whose constructor registers a parameter with the IO class.