MCPcopy Create free account
hub / github.com/dhbloo/rapfi / parseTuningRules

Function parseTuningRules

Rapfi/command/tuning.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace {
38
39void parseTuningRules(TuningConfig &cfg, std::vector<std::string> rules)
40{
41 for (const std::string &ruleStr : rules) {
42 Rule rule = Command::parseRule(ruleStr);
43 cfg.tuneRule[rule] = true;
44 }
45}
46
47LossType parseLossType(std::string lossType)
48{

Callers 1

tuningMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected