def relu_as_weights(x): return (x > 0).astype(float)