summaryrefslogtreecommitdiff
path: root/nn/runtime/test/specs/V1_3/qlstm_noprojection.mod.py
diff options
context:
space:
mode:
authorViet Dang <vddang@google.com>2020-06-19 12:01:25 +0100
committerViet Dang <vddang@google.com>2020-06-22 15:52:28 +0100
commit3f162191a222e3cc7ec929225e5c3c22b5d7cc27 (patch)
tree8593cb3bec1d5c9aa4fda06658bd0eba0de5f24d /nn/runtime/test/specs/V1_3/qlstm_noprojection.mod.py
parentc7e4e604b2d4f1cf8f2bdbe11350a48c719148d3 (diff)
downloadml-3f162191a222e3cc7ec929225e5c3c22b5d7cc27.tar.gz
Sets bias quant scale in QLSTM test to 0 as it's unused.
Bug: 155421116 Test: NeuralNetworksTest_static Change-Id: I434d70e30b137a37febfab83127d79f9a6ecbae6
Diffstat (limited to 'nn/runtime/test/specs/V1_3/qlstm_noprojection.mod.py')
-rw-r--r--nn/runtime/test/specs/V1_3/qlstm_noprojection.mod.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nn/runtime/test/specs/V1_3/qlstm_noprojection.mod.py b/nn/runtime/test/specs/V1_3/qlstm_noprojection.mod.py
index 18300a900..a592344c8 100644
--- a/nn/runtime/test/specs/V1_3/qlstm_noprojection.mod.py
+++ b/nn/runtime/test/specs/V1_3/qlstm_noprojection.mod.py
@@ -44,7 +44,8 @@ cell_to_input_weights = Input("cell_to_input_weights", CellWeightsType)
cell_to_forget_weights = Input("cell_to_forget_weights", CellWeightsType)
cell_to_output_weights = Input("cell_to_output_weights", CellWeightsType)
-BiasType = ("TENSOR_INT32", [num_units], 4.65661e-08, 0)
+# The bias scale value here is not used.
+BiasType = ("TENSOR_INT32", [num_units], 0.0, 0)
input_gate_bias = Input("input_gate_bias", BiasType)
forget_gate_bias = Input("forget_gate_bias", BiasType)
cell_gate_bias = Input("cell_gate_bias", BiasType)