Skip to content

Commit

Permalink
fix the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Aug 21, 2024
1 parent e1150a1 commit 57425e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def test_torch_based_feature(in_memory):
# Test get the size and count of the entire feature.
assert feature_a.size() == torch.Size([3])
assert feature_b.size() == torch.Size([2, 2])
assert feature_a.count() == a.size(0)
assert feature_b.count() == b.size(0)
assert feature_a.count() == 1
assert feature_b.count() == 3

# Test get metadata of the feature.
assert feature_a.metadata() == metadata
Expand Down

0 comments on commit 57425e3

Please sign in to comment.