Skip to content

Commit

Permalink
Update model2_cpx.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Linfang-mumu authored Jun 20, 2021
1 parent bf608bd commit aa89098
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions model2_cpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __init__(

super(ResBlock, self).__init__()
m = []
for i in range(2):
for i in range(3):
m.append(ComplexConv2d(n_feats, n_feats, kernel_size, bias=bias))
if bn:
m.append(nn.BatchNorm2d(n_feats))
Expand Down Expand Up @@ -187,7 +187,7 @@ def forward(self, x):
#################################################

y = x
for i in range(2):
for i in range(3):
x = y
new_k = torch.complex(x[:, 0, :, :], x[:, 1, :, :])

Expand Down Expand Up @@ -668,7 +668,7 @@ def forward(self, x):
#################################################

y = x
for i in range(2):
for i in range(3):
x = y
new_k = torch.complex(x[:, 0, :, :], x[:, 1, :, :])

Expand Down

0 comments on commit aa89098

Please sign in to comment.