We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9b7137 commit dd90747Copy full SHA for dd90747
coremltools/optimize/torch/pruning/magnitude_pruner.py
@@ -304,7 +304,7 @@ def __attrs_post_init__(self):
304
if self.initial_sparsity is not None and self.initial_sparsity > 0.0:
305
raise ValueError(
306
f"Received initial_sparsity = {self.initial_sparsity} and "
307
- f"n_m_ratio = {self.nm_ratio}. When n_m_ratio != None, the only allowed "
+ f"n_m_ratio = {self.n_m_ratio}. When n_m_ratio != None, the only allowed "
308
f"value of initial_sparsity is 0."
309
)
310
0 commit comments