def replace(self, key, val, flags=0, expireTime=0):
        return self._set("replace", key, val, flags, expireTime, "")
Test using a reference hard sigmoid implementation
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/protocols/memcache.py/MemCacheProtocol.replace--crossover with--dataset/ETHPy150Open fchollet/keras/tests/keras/test_activations.py/test_hard_sigmoid