PyTorchZeroToAll icon indicating copy to clipboard operation
PyTorchZeroToAll copied to clipboard

removed a comparison-to-literal pitfall

Open NaelsonDouglas opened this issue 4 years ago • 0 comments
trafficstars

The problem The code had a comparison-to-literal pitfall (Pylint code R0123) case.

Solution Applied a simple refactoring to it

NaelsonDouglas avatar Oct 15 '21 06:10 NaelsonDouglas