Skip to content

Commit

Permalink
Update nncf/torch/quantization/quantize_model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniil Lyakhov <[email protected]>
  • Loading branch information
AlexanderDokuchaev and daniil-lyakhov authored Oct 31, 2023
1 parent 15f3204 commit 4a82dcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nncf/torch/quantization/quantize_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def create_nncf_network(model: torch.nn.Module, dataset: Dataset) -> NNCFNetwork
Creates NNCFNetwork instance for the PyTorch model where the first item of dataset
is used for model tracing.
:param model: PyTorch model
:param dataset: Dataset for model tracing
:return: NNCFNetwork instance for the input model
:param model: PyTorch model.
:param dataset: Dataset for model tracing.
:return: NNCFNetwork instance for the input model.
"""

def get_inputs(dataloader_output: Any) -> Tuple[Tuple, Dict]:
Expand Down

0 comments on commit 4a82dcb

Please sign in to comment.