neural_de\external\derain\blocks.py
2
E721:
do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
90
self
.
stride
=
stride
if
type
(
stride
)
==
tuple
else
(
stride
,
stride
)
373
if
type
(
norm_layer
)
==
functools
.
partial
: