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!
Pārlūkot izejas kodu

Fix in test_decode_layer_05().

master
Stanislaw Adaszewski pirms 4 gadiem
vecāks
revīzija
4a9ddd540f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      tests/icosagon/test_declayer.py

+ 1
- 1
tests/icosagon/test_declayer.py Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt