if x <= 0: return 0 else: return x Is in the core of most neural networks today (relu activation), so it is definitely useful.
if x <= 0: return 0 else: return x Is in the core of most neural networks today (relu activation), so it is definitely useful.