def safe_exp(v):
    v = np.array(v)
    if np.any(v > 500):
        warn('Warning: exp overflowing!', RuntimeWarning)
    return np.exp(np.minimum(v, 500))
Registers an instance to respond to XML-RPC requests.
dataset/ETHPy150Open bbabenko/simple_convnet/simple_convnet/helpers.py/safe_exp--crossover with--dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/win32/Python27/Lib/SimpleXMLRPCServer.py/SimpleXMLRPCDispatcher.register_instance