void ann::set_momentum(float momentum) { bool success = grt_ann.setMomentum(momentum); if (success == false) { flext::error("unable to set momentum, hint: should be between 0-1"); } }