From 722380b00dc97e29ab41eb2198d5de284bef8efd Mon Sep 17 00:00:00 2001 From: gouda-youichi Date: Mon, 3 Feb 2025 11:01:06 +0900 Subject: [PATCH] PR comment correction (in progress) --- .../example_pytorch_activation_threshold_search.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/notebooks/mct_features_notebooks/pytorch/example_pytorch_activation_threshold_search.ipynb b/tutorials/notebooks/mct_features_notebooks/pytorch/example_pytorch_activation_threshold_search.ipynb index 9d0a50a17..ddaa4a05a 100644 --- a/tutorials/notebooks/mct_features_notebooks/pytorch/example_pytorch_activation_threshold_search.ipynb +++ b/tutorials/notebooks/mct_features_notebooks/pytorch/example_pytorch_activation_threshold_search.ipynb @@ -340,7 +340,7 @@ "\n", "MCT’s `quantization_info` stores the threshold values for each layer. However, to view the actual activation distributions, the model needs to be reconstructed up to and including the target layer selected for visualization.\n", "\n", - "To do this, we first need to identify the layer names. In Keras, this can be easily done for the first 10 layers using the following code snippet." + "To do this, we first need to identify the layer names. " ] }, { @@ -353,8 +353,8 @@ "outputs": [], "source": [ "for index, (name, layer) in enumerate(float_model.named_modules()):\n", - " if index < 10:\n", - " print(name, layer)\n", + " if index < 14:\n", + " print(name)\n", " else:\n", " break" ]