Searched refs:twice_norm_square (Results 1 – 1 of 1) sorted by relevance
117 float twice_norm_square = L2NormSquare(inputs) * 2.0; in TrainOneExample() local118 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() local151 if (twice_norm_square == 0.0) { in SparseTrainOneExample()152 twice_norm_square = kEpsilon; in SparseTrainOneExample()154 float rate = loss / twice_norm_square; in SparseTrainOneExample()