Detection of Gravitational Waves Using Bayesian Neural Networks