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

Function create_learner

learners/learner_utils.py:33–66  ·  view source on GitHub ↗

Create the learner as specified by FLAGS.learner. Args: * sm_writer: TensorFlow's summary writer * model_helper: model helper with definitions of model & dataset Returns: * learner: the specified learner

(sm_writer, model_helper)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90

Calls 9

FullPrecLearnerClass · 0.90
WeightSparseLearnerClass · 0.90
DisChnPrunedLearnerClass · 0.90
UniformQuantLearnerClass · 0.90

Tested by

no test coverage detected