Searched refs:activ_func_name (Results 1 – 2 of 2) sorted by relevance
1104 const char* activ_func_name = activ_func == IDENTITY ? "IDENTITY" : in write_params() local1108 if( activ_func_name ) in write_params()1109 fs << "activation_function" << activ_func_name; in write_params()1181 String activ_func_name = (String)fn["activation_function"]; in read_params() local1182 if( !activ_func_name.empty() ) in read_params()1184 activ_func = activ_func_name == "SIGMOID_SYM" ? SIGMOID_SYM : in read_params()1185 activ_func_name == "IDENTITY" ? IDENTITY : in read_params()1186 activ_func_name == "GAUSSIAN" ? GAUSSIAN : -1; in read_params()
1307 const char* activ_func_name = activ_func == IDENTITY ? "IDENTITY" : in write_params() local1311 if( activ_func_name ) in write_params()1312 cvWriteString( fs, "activation_function", activ_func_name ); in write_params()1406 const char* activ_func_name = cvReadStringByName( fs, node, "activation_function", 0 ); in read_params() local1409 if( activ_func_name ) in read_params()1410 activ_func = strcmp( activ_func_name, "SIGMOID_SYM" ) == 0 ? SIGMOID_SYM : in read_params()1411 strcmp( activ_func_name, "IDENTITY" ) == 0 ? IDENTITY : in read_params()1412 strcmp( activ_func_name, "GAUSSIAN" ) == 0 ? GAUSSIAN : 0; in read_params()