Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

any quantize tool like tflite?Β #60

@MaxwellHan

Description

@MaxwellHan

in tflite,when excute
import tensorflow as tf converter = tf.lite.TocoConverter.from_saved_model(saved_model_dir) converter.post_training_quantize = True tflite_quantized_model = converter.convert() open("quantized_model.tflite", "wb").write(tflite_quantized_model)
i can get a 8bit model and then i can move is to mobile devices.

is there any docs about caffe2 like this?i can't find any example or tutorial about quant a model and excute on mobile devices.
what's more, how caffe2 and pytorch support 8bit ops ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions