Download diffq/__init__.py from Musix/RVC_HF: direct link, hf CLI and curl.
- Browser
- Download file 604 Bytes
-
https://huggingface.co/spaces/Musix/RVC_HF/resolve/main/diffq/__init__.py
- Command line
-
hf download hf://spaces/Musix/RVC_HF/diffq/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Musix/RVC_HF/resolve/main/diffq/__init__.py
604 Bytes
| # 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 | |