nncf icon indicating copy to clipboard operation
nncf copied to clipboard

Fix argsort function

Open alexsu52 opened this issue 1 year ago • 1 comments

Changes

Fix implementation of argsort function

Reason for changes

Align PyTorch and Numpy implementation

Related tickets

ref: 2588

Tests

tests/common/test_tensor.py

alexsu52 avatar May 08 '24 07:05 alexsu52

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 29.87%. Comparing base (359447b) to head (efbbb2a).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           develop    #2671       +/-   ##
============================================
- Coverage    62.02%   29.87%   -32.16%     
============================================
  Files          495      495               
  Lines        45969    45973        +4     
============================================
- Hits         28514    13735    -14779     
- Misses       17455    32238    +14783     
Files Coverage Δ
nncf/experimental/tensor/functions/numeric.py 74.03% <0.00%> (-19.34%) :arrow_down:
...ncf/experimental/tensor/functions/torch_numeric.py 0.00% <0.00%> (-57.06%) :arrow_down:
...ncf/experimental/tensor/functions/numpy_numeric.py 65.03% <0.00%> (-28.50%) :arrow_down:

... and 262 files with indirect coverage changes

Flag Coverage Δ
COMMON ?
ONNX ?
OPENVINO ?
TENSORFLOW 29.87% <0.00%> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
common 76.35% <ø> (-12.10%) :arrow_down:
torch 0.01% <0.00%> (-32.84%) :arrow_down:
tensorflow 93.74% <ø> (ø)
onnx 0.00% <ø> (-93.07%) :arrow_down:
openvino 0.00% <ø> (-94.25%) :arrow_down:
ptq 15.19% <ø> (-65.49%) :arrow_down:

codecov[bot] avatar May 08 '24 08:05 codecov[bot]