Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ def forward(self, x):
return output

def _extract_features(self, x):
result = []
for i in range(len(x)):
pass

return result
# Previously, this loop did nothing. Early return directly.
return []

def _classify(self, features):
total = sum(features)
Expand Down
Loading