Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
fix test_kornia_parallel_transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarriba committed Jun 1, 2021
1 parent 8f71343 commit b691958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/data/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_kornia_parallel_transforms(with_params):

if with_params:
# check that after the forward `_params` is set to None
assert transform_a._params == transform_a._params == None
assert transform_a._params == transform_a._params is None

assert torch.allclose(transform_a.call_args_list[0][0][0], samples[0])
assert torch.allclose(transform_a.call_args_list[1][0][0], samples[1])
Expand Down

0 comments on commit b691958

Please sign in to comment.