Convolutional neural networks: a magic bullet for gravitational-wave detection?