mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-07-15 11:25:33 +08:00
call __init__ before registering buffers
This commit is contained in:
@@ -304,6 +304,7 @@ class MADE(nn.Module):
|
||||
|
||||
class Flow(nn.Module):
|
||||
def __init__(self, input_size):
|
||||
super().__init__()
|
||||
self.__scale = None
|
||||
self.net = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user