Skip to content

Commit

Permalink
Remove TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tvhong committed Apr 8, 2024
1 parent c7249aa commit 7e246c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion obvs/lenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ def _target_word(self, word):

def prepare_data_array(self):
if hasattr(self, "source_layers") and hasattr(self, "target_layers"):
# TODO: some errors here
self.surprisal = np.zeros((len(self.source_layers), len(self.target_layers)))
self.precision_at_1 = np.zeros((len(self.source_layers), len(self.target_layers)))
elif hasattr(self, "source_layers"):
Expand Down

0 comments on commit 7e246c7

Please sign in to comment.