Skip to content

Commit

Permalink
Fixed shape of tensor
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander März committed Aug 23, 2023
1 parent d7d70ab commit 1aefed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def response_fn(self, request):

def test_response_fn(self, response_fn):
# Create Data for testing
predt = torch.tensor([1.0, 2.0, 3.0, 4.0])
predt = torch.tensor([1.0, 2.0, 3.0, 4.0]).reshape(-1,1)

# Call the function
predt_transformed = response_fn(predt)
Expand Down

0 comments on commit 1aefed9

Please sign in to comment.