Skip to content

Commit

Permalink
Fixed a bug in parallel error concatenation
Browse files Browse the repository at this point in the history
Doesn't effect box, hybrid zono, or networks without parallel connections.
  • Loading branch information
mmirman authored Jan 6, 2021
1 parent d529011 commit 6a694d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def doop(er1, er2):

p1 = op(erS[:sz], erL[:sz])
erSrem = erS[sz:]
erLrem = erS[sz:]
erLrem = erL[sz:]
p2 = op(erSrem, h.zeros(erSrem.shape))
p3 = op(h.zeros(erLrem.shape), erLrem)
return torch.cat((p1,p2,p3), dim=0)
Expand Down

0 comments on commit 6a694d7

Please sign in to comment.