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

Method Constraint

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

Source from the content-addressed store, hash-verified

106class Constraint {
107 public:
108 Constraint() = default;
109 explicit Constraint(const ConstraintConf& conf) { Setup(conf); }
110 Constraint(const string& type, float threshold)
111 : type_(type), threshold_(threshold) {}

Callers

nothing calls this directly

Calls 1

SetupFunction · 0.85

Tested by

no test coverage detected