Skip to content

Commit

Permalink
Support PTQ on Keras3 (#1759)
Browse files Browse the repository at this point in the history
Signed-off-by: zehao-intel <[email protected]>
  • Loading branch information
zehao-intel authored Apr 30, 2024
1 parent e3c736f commit f67e861
Show file tree
Hide file tree
Showing 38 changed files with 2,025 additions and 879 deletions.
397 changes: 200 additions & 197 deletions neural_compressor/tensorflow/algorithms/static_quant/keras.py

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion neural_compressor/tensorflow/keras/layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
from neural_compressor.tensorflow.keras.layers.dense import QDense
from neural_compressor.tensorflow.keras.layers.depthwise_conv2d import QDepthwiseConv2D
from neural_compressor.tensorflow.keras.layers.pool2d import QAvgPool2D, QMaxPool2D
from neural_compressor.tensorflow.keras.layers.quantizer import DeQuantize, FakeQuant, Quantize
from neural_compressor.tensorflow.keras.layers.separable_conv2d import QSeparableConv2D
from neural_compressor.tensorflow.keras.layers.layer_initializer import layer_initializer_dict
Loading

0 comments on commit f67e861

Please sign in to comment.