Exemplo n.º 1
0
func (ann *Ann) SetActivationFunctionOutput(tp ActivationFunc) {
	C.fann_set_activation_function_output(ann.object, C.enum_fann_activationfunc_enum(tp))
}
Exemplo n.º 2
0
func (ann *Ann) SetActivationFunctionLayer(activation_function ActivationFunc, layer int) {
	C.fann_set_activation_function_layer(ann.object, C.enum_fann_activationfunc_enum(activation_function), C.int(layer))
}
Exemplo n.º 3
0
func (ann *Ann) SetActivationFunctionHidden(tp ActivationFunc) {
	C.fann_set_activation_function_hidden(ann.object, C.enum_fann_activationfunc_enum(tp))
}