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!
ソースを参照

Fix a typo.

master
Stanislaw Adaszewski 4年前
コミット
54c7f1ae8f
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/icosagon/bulkdec.py

+ 1
- 1
src/icosagon/bulkdec.py ファイルの表示

@@ -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)


読み込み中…
キャンセル
保存