public void set_train_stop_function(StopFunction train_stop_function) { fanndoublePINVOKE.neural_net_set_train_stop_function(swigCPtr, (int)train_stop_function); }