Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/api-doc/apis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ APIs
.. toctree::
:maxdepth: 1

api_2.rst
api_2.rst
1 change: 0 additions & 1 deletion docs/source/api-doc/tf_quantization_common.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ Tensorflow Quantization Base API
.. autoapisummary::

neural_compressor.tensorflow.quantization.quantize

1 change: 0 additions & 1 deletion docs/source/api-doc/torch_quantization_common.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ Pytorch Quantization Base API
.. autoapisummary::

neural_compressor.torch.quantization.quantize

2 changes: 1 addition & 1 deletion neural_compressor/tensorflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Tensorflow API"""
"""Intel Neural Compressor Tensorflow API."""

from neural_compressor.tensorflow.utils import register_algo, Model
from neural_compressor.tensorflow.quantization import (
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/tensorflow/quantization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Tensorflow quantization API"""
"""Intel Neural Compressor Tensorflow quantization API."""


from neural_compressor.tensorflow.quantization.quantize import quantize_model
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/tensorflow/quantization/autotune.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Tensorflow quantization AutoTune API"""
"""Intel Neural Compressor Tensorflow quantization AutoTune API."""


from copy import deepcopy
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/tensorflow/quantization/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Pytorch quantization config API"""
"""Intel Neural Compressor Pytorch quantization config API."""


from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/tensorflow/quantization/quantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Tensorflow quantization base API"""
"""Intel Neural Compressor Tensorflow quantization base API."""


from typing import Any, Callable, Dict, Tuple, Union
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/torch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Pytorch API"""
"""Intel Neural Compressor Pytorch API."""
from .utils import load_empty_model
2 changes: 1 addition & 1 deletion neural_compressor/torch/quantization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Pytorch quantization API"""
"""Intel Neural Compressor Pytorch quantization API."""

from neural_compressor.torch.quantization.quantize import quantize, prepare, convert
from neural_compressor.torch.quantization.config import (
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/torch/quantization/autotune.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Pytorch quantization AutoTune API"""
"""Intel Neural Compressor Pytorch quantization AutoTune API."""


from copy import deepcopy
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/torch/quantization/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# pylint:disable=import-error
"""Intel Neural Compressor Pytorch quantization config API"""
"""Intel Neural Compressor Pytorch quantization config API."""


from collections import OrderedDict
Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/torch/quantization/quantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Intel Neural Compressor Pytorch quantization base API"""
"""Intel Neural Compressor Pytorch quantization base API."""

import copy
from typing import Any, Callable, Dict, Tuple
Expand Down