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

master
Stanislaw Adaszewski пре 4 година
родитељ
комит
4a9ddd540f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      tests/icosagon/test_declayer.py

+ 1
- 1
tests/icosagon/test_declayer.py Прегледај датотеку

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


Loading…
Откажи
Сачувај