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)


Loading…
取消
儲存