mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-22 06:08:46 +00:00
remove TODO related to older pyright version
This commit is contained in:
parent
5aa8e11eb7
commit
455be5a4be
|
@ -87,7 +87,7 @@ def gaussian_blur(
|
||||||
elif isinstance(sigma, float):
|
elif isinstance(sigma, float):
|
||||||
sx, sy = sigma, sigma
|
sx, sy = sigma, sigma
|
||||||
else:
|
else:
|
||||||
assert isinstance(sigma, tuple) # TODO: remove with pyright +1.1.330
|
assert isinstance(sigma, tuple)
|
||||||
sx, sy = sigma
|
sx, sy = sigma
|
||||||
|
|
||||||
channels = tensor.shape[-3]
|
channels = tensor.shape[-3]
|
||||||
|
|
Loading…
Reference in a new issue