提交 8e229bb6 编写于 作者: M Meghna Natraj 提交者: TensorFlower Gardener

Update MobileNetV2 models for model_coverage tests

PiperOrigin-RevId: 339951415
Change-Id: Ic3bbb2e474a4fb287fb48f24509beb44625ee2e4
上级 f296fd6f
......@@ -128,11 +128,11 @@ def _convert(converter, **kwargs):
def _check_model_quantized_to_16x8(tflite_model):
"""Checks that the activations are quantized into int16.
Args:
tflite_model: Serialized TensorFlow Lite model.
Args:
tflite_model: Serialized TensorFlow Lite model.
Raises:
ValueError: Activations with int16 type are not found.
Raises:
ValueError: Activations with int16 type are not found.
"""
interpreter = _get_tflite_interpreter(tflite_model)
interpreter.allocate_tensors()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册