Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtflite_lstm_cell_fusion.cc389 float cell_old, cell_new, hidden_old, hidden_new; in CheckBodyGraph() local
396 if (GetFloatScalarFromTensorInfo(hidden_zoneout_old_node, &hidden_old) != RET_OK) { in CheckBodyGraph()
406 if (hidden_old < 0.0f || hidden_old > 1.0f || hidden_new < 0.0f || hidden_new > 1.0f) { in CheckBodyGraph()
410 …if (std::abs(cell_old + cell_new - 1.0f) > EPSILON || std::abs(hidden_old + hidden_new - 1.0f) > E… in CheckBodyGraph()
411 std::abs(cell_old - hidden_old) > EPSILON) { in CheckBodyGraph()
416 *zoneout_hidden = hidden_old; in CheckBodyGraph()