nncf icon indicating copy to clipboard operation
nncf copied to clipboard

Tensor dispatcher

Open AlexanderDokuchaev opened this issue 10 months ago • 1 comments

Changes

Added dispatcher for tensor to simplify register function, that base on signature of functions. Removed _binary_op_nowarn, _binary_reverse_op_nowarn

AlexanderDokuchaev avatar Apr 26 '24 19:04 AlexanderDokuchaev

Codecov Report

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

Project coverage is 30.05%. Comparing base (bdc144b) to head (a6e07b7). Report is 4 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           develop    #2660       +/-   ##
============================================
- Coverage    46.81%   30.05%   -16.76%     
============================================
  Files          493      493               
  Lines        45540    45488       -52     
============================================
- Hits         21318    13671     -7647     
- Misses       24222    31817     +7595     
Files Coverage Δ
nncf/experimental/tensor/functions/linalg.py 100.00% <100.00%> (ø)
nncf/experimental/tensor/functions/numeric.py 100.00% <100.00%> (+6.21%) :arrow_up:
nncf/experimental/tensor/functions/numpy_linalg.py 83.33% <100.00%> (-16.67%) :arrow_down:
...ncf/experimental/tensor/functions/numpy_numeric.py 67.71% <100.00%> (-26.41%) :arrow_down:
nncf/experimental/tensor/functions/torch_linalg.py 33.33% <0.00%> (-50.01%) :arrow_down:
nncf/experimental/tensor/tensor.py 52.83% <0.00%> (-37.83%) :arrow_down:
nncf/experimental/tensor/functions/dispatcher.py 63.29% <62.82%> (-31.71%) :arrow_down:
...ncf/experimental/tensor/functions/torch_numeric.py 0.00% <0.00%> (-56.88%) :arrow_down:

... and 365 files with indirect coverage changes

Flag Coverage Δ
COMMON ?
ONNX ?
OPENVINO ?
TENSORFLOW 30.05% <62.72%> (?)

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

Components Coverage Δ
common 76.35% <ø> (+6.67%) :arrow_up:
torch 0.01% <0.00%> (-32.85%) :arrow_down:
tensorflow 93.74% <ø> (+93.74%) :arrow_up:
onnx 0.00% <ø> (-93.07%) :arrow_down:
openvino 0.00% <ø> (-94.19%) :arrow_down:
ptq 15.54% <ø> (-63.80%) :arrow_down:

codecov[bot] avatar Apr 26 '24 19:04 codecov[bot]