Skip to content

Commit

Permalink
Linting and formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Zickel committed Jun 27, 2024
1 parent 49ca388 commit f995b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/infer/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ def guide(zdim=1, scale=1.0):

def test_render_model_deterministic_param():
def model():
value = pyro.param("param", torch.tensor(0.))
value = pyro.param("param", torch.tensor(0.0))
pyro.deterministic("deterministic", value)

graph = pyro.render_model(model, render_params=True, render_deterministic=True)

assert '\tparam -> deterministic\n' in graph.body
assert "\tparam -> deterministic\n" in graph.body

0 comments on commit f995b97

Please sign in to comment.