Skip to content

Commit

Permalink
remove todo; fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajprad committed May 31, 2019
1 parent 615ee7a commit 3f735f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
14 changes: 5 additions & 9 deletions examples/bnn.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
"""
We demonstrate how to use NUTS to do inference on a simple (small)
Bayesian neural network with two hidden layers.
"""

import argparse

import matplotlib
Expand All @@ -16,15 +21,6 @@
matplotlib.use('Agg') # noqa: E402





"""
We demonstrate how to use NUTS to do inference on a simple (small)
Bayesian neural network with two hidden layers.
"""


# the non-linearity we use in our neural network
def nonlin(x):
return np.tanh(x)
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
sys.stderr.flush()
long_description = open('README.md').read()

# TODO: More intelligent way to parse this.
long_description = '\n'.join([str(line) for line in long_description.split('\n')])

setup(
name='numpyro',
version='0.1.0',
Expand Down

0 comments on commit 3f735f5

Please sign in to comment.