kumar-shridhar / PyTorch-BayesianCNN

Bayesian Convolutional Neural Network with Variational Inference based on Bayes by Backprop in PyTorch.
MIT License
1.42k stars 323 forks source link

Update BBBConv.py #58

Closed lan-qing closed 3 years ago

lan-qing commented 3 years ago

The variable sample is not defined but used in Line 77, layers/BBB_LRT/BBBConv.py. I add a default value True for it as in other files.