Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MNN
/ setLearningRate
Method
setLearningRate
tools/train/source/optimizer/SGD.cpp:22–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
}
21
22
void SGD::setLearningRate(float rate) {
23
mLearningRate = rate;
24
}
25
26
void SGD::setMomentum(float momentum) {
27
mMomentum = momentum;
Callers
14
_quantizeModelEMA
Method · 0.80
train
Method · 0.80
run
Method · 0.80
_train
Function · 0.80
_train
Function · 0.80
train
Method · 0.80
run
Method · 0.80
run
Method · 0.80
run
Method · 0.80
run
Method · 0.80
run
Method · 0.80
createSGD
Method · 0.80
Calls
no outgoing calls
Tested by
5
run
Method · 0.64
run
Method · 0.64
run
Method · 0.64
run
Method · 0.64
run
Method · 0.64