sadhaklal commited on
Commit
f2555f9
1 Parent(s): de7a49d

made a minor update to the "Usage" section in README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -38,8 +38,8 @@ class IDENTITY(nn.Module, PyTorchModelHubMixin):
38
 
39
  def forward(self, x):
40
  a = x
41
- a = torch.cat([a, a], dim=1)
42
- column_sum = torch.sum(a, dim=1, keepdim=True)
43
  output = (column_sum >= 2).long()
44
  return output
45
 
 
38
 
39
  def forward(self, x):
40
  a = x
41
+ inputs = torch.cat([a, a], dim=1)
42
+ column_sum = torch.sum(inputs, dim=1, keepdim=True)
43
  output = (column_sum >= 2).long()
44
  return output
45