lm-noshiro
lm-noshiro
## What this patch does to fix the issue. * Refactored `if` statement structures. * Replaced unnecessary use of `elif` with `if` if it's immediately after `return` / `raise` statement....
## What this patch does to fix the issue. * removed unnecessary variable assignments ## Link to any relevant issues or pull requests. #1058
* early return bad ```py if cond: # long code return something else: return None ``` good ```py if not cond: return None # long code ``` ---- * integer...
Todo: Add enhancement label.
in `tools/debug.py`: ```py class QuantizedMatrix(object): ARRANGEMENT = ['Sequential', 'BitInterleaving', 'WordInterleaving'] // here ... ```