Skip to content

Commit

Permalink
correct wrong fan_in (previously taken from one layer too late)
Browse files Browse the repository at this point in the history
  • Loading branch information
marph91 committed May 13, 2021
1 parent 616961d commit 1cd81c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/04_custom_toplevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def bnn_from_larq(path: str) -> Bnn:
# used at the next batch norm
fan_in = (
get_kernel_size(parameter["kernel_size"]) ** 2
* parameter["filters"]
* channel
* channel_bw
)
# used at the next conv
Expand Down

0 comments on commit 1cd81c1

Please sign in to comment.