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 @@ -34,11 +34,9 @@ def forward(self, x):
return output

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

return result
# The original implementation does nothing and returns an empty list.
# Optimized to directly return an empty list.
return []

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