Skip to content

Commit 80e1063

Browse files
committed
Remove unused variable
1 parent 225cc28 commit 80e1063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_toolbelt/modules/ocnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def __init__(self, in_channels, key_channels, value_channels, out_channels=None,
264264
nn.init.constant(self.W.bias, 0)
265265

266266
def forward(self, x):
267-
batch_size, c, h, w = x.size(0), x.size(1), x.size(2), x.size(3)
267+
batch_size, _, h, w = x.size(0), x.size(1), x.size(2), x.size(3)
268268

269269
local_x = []
270270
local_y = []

0 commit comments

Comments
 (0)