We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62a8d16 commit ff18cd9Copy full SHA for ff18cd9
Code/Modules.py
@@ -337,7 +337,7 @@ def __init__(
337
self.w_stack = []
338
self.dims = dims
339
for i in range(len(dims) - 1):
340
- self.w_stack.append(nn.Conv1d(dims[i], dims[i + 1], 1, use_bias))
+ self.w_stack.append(nn.Conv1d(dims[i], dims[i + 1], 1, bias=use_bias))
341
self.add_module("PWF_Conv%d" % (i), self.w_stack[-1])
342
self.reshape = reshape
343
self.layer_norm = nn.LayerNorm(dims[-1])
@@ -689,4 +689,4 @@ def balance_num(self, edges):
689
for c in tqdm(choice):
690
final.append(np.random.choice(np.where(cell == c)[0], num, replace=True))
691
final = np.concatenate(final, axis=-1)
692
- return final
+ return final
0 commit comments