Skip to content

Commit

Permalink
remove no_grad on loc and scale for normal dist
Browse files Browse the repository at this point in the history
  • Loading branch information
will-maclean committed Sep 8, 2024
1 parent 49b5dce commit e8a5e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/distributions/normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ impl<B: Backend, const D: usize> Normal<B, D> {
);

Self {
loc: loc.no_grad(),
scale: scale.no_grad(),
loc,
scale,
}
}
}
Expand Down

0 comments on commit e8a5e2d

Please sign in to comment.