We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35bab80 commit 37db5dbCopy full SHA for 37db5db
src/ptwt/_util.py
@@ -224,7 +224,9 @@ def _check_same_device_dtype(
224
torch_device, torch_dtype = c.device, c.dtype
225
226
# check for all tensors in `coeffs` that the device matches `torch_device`
227
- _apply_to_tensor_elems(coeffs, partial(_check_same_device, torch_device=torch_device))
+ _apply_to_tensor_elems(
228
+ coeffs, partial(_check_same_device, torch_device=torch_device)
229
+ )
230
# check for all tensors in `coeffs` that the dtype matches `torch_dtype`
231
_apply_to_tensor_elems(coeffs, partial(_check_same_dtype, torch_dtype=torch_dtype))
232
0 commit comments