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 in test_decode_layer_05().

master
Stanislaw Adaszewski hace 4 años
padre
commit
4a9ddd540f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      tests/icosagon/test_declayer.py

+ 1
- 1
tests/icosagon/test_declayer.py Ver fichero

@@ -166,7 +166,7 @@ def test_decode_layer_05():
# print(rel_pred.edges_neg.train)
repr_in = in_layer(None)
assert isinstance(repr_in, list)
assert isinstance(repr_in, torch.nn.ParameterList)
assert len(repr_in) == 1
assert isinstance(repr_in[0], torch.Tensor)
assert torch.all(repr_in[0].to_dense() == torch.eye(10))


Cargando…
Cancelar
Guardar