File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tensorflow_model_optimization/python/core/quantization/keras Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -411,10 +411,10 @@ def _quantize(layer): # pylint: disable=missing-docstring
411
411
model_copy = _clone_model_with_weights (model )
412
412
except ValueError :
413
413
raise ValueError (
414
- 'Unable to clone model. This generally happens if you used custom Keras layers or objects '
415
- 'in your model. Please specify them via `quantize_scope` for your calls to `quantize_model` '
416
- 'and `quantize_apply`. '
417
- )
414
+ 'Unable to clone model. This generally happens if you used custom '
415
+ 'Keras layers or objects in your model. Please specify them via '
416
+ '`quantize_scope` for your calls to `quantize_model` and '
417
+ '`quantize_apply`.' )
418
418
419
419
# 2. Remove QuantizeAnnotate wrappers from the layers in the model. This
420
420
# extracts the original model structure (easier to transform), and
You can’t perform that action at this time.
0 commit comments