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!
Explorar el Código

Fix a typo.

master
Stanislaw Adaszewski hace 4 años
padre
commit
54c7f1ae8f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/icosagon/bulkdec.py

+ 1
- 1
src/icosagon/bulkdec.py Ver fichero

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


Cargando…
Cancelar
Guardar