MCPcopy Create free account
hub / github.com/apache/singa / Regularizer

Method Regularizer

include/singa/model/optimizer.h:144–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142class Regularizer {
143 public:
144 Regularizer() = default;
145 explicit Regularizer(const RegularizerConf& conf) { Setup(conf); }
146 Regularizer(const string& type, float coefficient)
147 : type_(type), coefficient_(coefficient) {}

Callers

nothing calls this directly

Calls 1

SetupFunction · 0.85

Tested by

no test coverage detected