Explicitly set clipping values to zero.

PiperOrigin-RevId: 322834509
Change-Id: Ia3eaf897efd1a58c67631f966de6ae42d56a43ad
This commit is contained in:
Robert David 2020-07-23 11:57:29 -07:00 committed by TensorFlower Gardener
parent a8a884db8b
commit c4a2703957

View File

@ -131,6 +131,7 @@ class LSTMOpModel : public SingleOpModel {
SetBuiltinOp(
BuiltinOperator_LSTM, BuiltinOptions_LSTMOptions,
CreateLSTMOptions(builder_, ActivationFunctionType_TANH,
/*cell_clip=*/0.0f, /*proj_clip=*/0.0f,
LSTMKernelType_FULL, asymmetric_quantize_inputs)
.Union());