Home
last modified time | relevance | path

Searched refs:twice_norm_square (Results 1 – 1 of 1) sorted by relevance

/frameworks/ml/bordeaux/learning/multiclass_pa/native/
Dmulticlass_pa.cpp117 float twice_norm_square = L2NormSquare(inputs) * 2.0; in TrainOneExample() local
118 if (twice_norm_square == 0.0) { in TrainOneExample()
119 twice_norm_square = kEpsilon; in TrainOneExample()
121 float rate = loss / twice_norm_square; in TrainOneExample()
150 float twice_norm_square = SparseL2NormSquare(inputs) * 2.0; in SparseTrainOneExample() local
151 if (twice_norm_square == 0.0) { in SparseTrainOneExample()
152 twice_norm_square = kEpsilon; in SparseTrainOneExample()
154 float rate = loss / twice_norm_square; in SparseTrainOneExample()