IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

Fix a typo.

master
Stanislaw Adaszewski 3 years ago
parent
commit
54c7f1ae8f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/icosagon/bulkdec.py

+ 1
- 1
src/icosagon/bulkdec.py View File

@@ -44,7 +44,7 @@ def convert_decoder(dec):
local_variation = torch.eye(dec.input_dim, dec.input_dim)
local_variation = [ local_variation ] * dec.num_relation_types
else:
raise TypeError('Unknown decoder type in covert_decoder()')
raise TypeError('Unknown decoder type in convert_decoder()')
if not isinstance(local_variation, torch.Tensor):
local_variation = map(lambda a: a.view(1, *a.shape), local_variation)


Loading…
Cancel
Save