MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / set_max_memory_size_Byte

Method set_max_memory_size_Byte

src/thundersvm/model/svmmodel.cpp:364–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void SvmModel::set_max_memory_size_Byte(size_t size) {
365 if(size > 0)
366 this->param.max_mem_size = static_cast<size_t>(size);
367}
368
369void SvmModel::get_param(char* kernel_type, int* degree, float* gamma, float* coef0, int* probability){
370 switch(param.kernel_type){

Callers 2

mainFunction · 0.80
thundersvm_predict_subFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected