Add files via upload

This commit is contained in:
Anjok07
2022-05-10 19:13:15 -05:00
committed by GitHub
parent bc5195e68c
commit 58fa38822a
19 changed files with 3548 additions and 0 deletions

18
diffq/__init__.py Normal file
View File

@@ -0,0 +1,18 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
# flake8: noqa
"""
This package implements different quantization strategies:
- `diffq.uniform.UniformQuantizer`: classic uniform quantization over n bits.
- `diffq.diffq.DiffQuantizer`: differentiable quantizer based on scaled noise injection.
Also, do check `diffq.base.BaseQuantizer` for the common methods of all Quantizers.
"""
from .uniform import UniformQuantizer
from .diffq import DiffQuantizer