neuralmagic / deepsparse

Sparsity-aware deep learning inference runtime for CPUs
https://neuralmagic.com/deepsparse/
Other
3.01k stars 176 forks source link

Add minor updates #1265

Closed rahul-tuli closed 1 year ago

rahul-tuli commented 1 year ago

This is a minimal PR adds minor updates to our code.

1) Updates usage of idiom max([for .. clause ..]) -> max(for .. clause), similar update for min([..])

2) In one of my comments on a previous PR I suggested a two line change on one line, which was merged in and lead to working but not so great if condition this PR also updates that This is the original comment: https://github.com/neuralmagic/deepsparse/pull/1246#discussion_r1333454411