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

Function insert_quant_op

learners/uniform_quantization_tf/utils.py:53–77  ·  view source on GitHub ↗

Insert quantization operations to the specified activation node. Args: * graph: TensorFlow graph * node_name: activation node's name * is_train: insert training-related operations or not

(graph, node_name, is_train)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

__build_trainMethod · 0.90
__build_evalMethod · 0.90
build_graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected