neural_compressor.tensorflow.quantization.utils.graph_rewriter.generic.fold_constant

Folding Const Graph Rewriter.

Module Contents

Classes

GraphFoldConstantOptimizer

Folding all the sequences only consist of const and self.supported_op_type.

class neural_compressor.tensorflow.quantization.utils.graph_rewriter.generic.fold_constant.GraphFoldConstantOptimizer(model=None)[source]

Folding all the sequences only consist of const and self.supported_op_type.