Internal change.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 26 Apr 2018 23:01:00 +0000 (16:01 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 26 Apr 2018 23:04:28 +0000 (16:04 -0700)
PiperOrigin-RevId: 194468535

tensorflow/contrib/lite/kernels/bidirectional_sequence_rnn_test.cc

index 12f4ff9..911b108 100644 (file)
@@ -161,7 +161,7 @@ static float rnn_golden_bw_output[] = {
     0,        0,          1.86126,   0,         0.728256,  0.750013,  0.011861,
     0.576383, 3.38891,    1.29273,   0};
 
-constexpr std::initializer_list<float> weights = {
+const std::initializer_list<float> weights = {
     0.461459,    0.153381,   0.529743,    -0.00371218, 0.676267,   -0.211346,
     0.317493,    0.969689,   -0.343251,   0.186423,    0.398151,   0.152399,
     0.448504,    0.317662,   0.523556,    -0.323514,   0.480877,   0.333113,
@@ -628,12 +628,12 @@ static float golden_endtoend_output[] = {
     -2.080307, 0.896140,  -3.104050, 0.983158,  -0.424898, -1.154270, -3.805728,
     1.978917,  -1.314387, 1.235096,  -3.148906, 1.113173,  0.111713,  2.055213,
     -7.565283, 2.100342};
-constexpr std::initializer_list<float> biases = {
+const std::initializer_list<float> biases = {
     0.065691948, -0.69055247, 0.1107955,  -0.97084129, -0.23957068, -0.23566568,
     -0.389184,   0.47481549,  -0.4791103, 0.29931796,  0.10463274,  0.83918178,
     0.37197268,  0.61957061,  0.3956964,  -0.37609905};
 
-constexpr std::initializer_list<float> recurrent_weights = {
+const std::initializer_list<float> recurrent_weights = {
     0.1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     0.1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     0.1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,