MCPcopy Create free account
hub / github.com/Tencent/PocketFlow / find_unquant_act_nodes

Function find_unquant_act_nodes

learners/uniform_quantization_tf/utils.py:226–295  ·  view source on GitHub ↗

Find unquantized activation nodes in the model. TensorFlow's quantization-aware training APIs insert quantization operations into the graph, so that model weights can be fine-tuned with quantization error taken into consideration. However, these APIs only insert quantization operations in

(model_helper, data_scope, model_scope, mpi_comm)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.90

Calls 4

build_graphFunction · 0.85
export_tflite_modelFunction · 0.85
build_dataset_evalMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected