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

Method __init__

learners/uniform_quantization/bit_optimizer.py:54–126  ·  view source on GitHub ↗

By passing the ops in the learner, we do not need to build the graph again for training and testing. Args: * dataset_name: a string that indicates which dataset to use * weights: a list of Tensors, the weights of networks to quantize * statistics: a dict, recording the number o

(self,
               dataset_name,
               weights,
               statistics,
               bit_placeholders,
               ops,
               layerwise_tune_list,
               sess_train,
               sess_eval,
               saver_train,
               saver_eval,
               barrier_fn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

RLHelperClass · 0.90
sizeMethod · 0.80
local_rankMethod · 0.80

Tested by

no test coverage detected