aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-08-30 10:27:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-30 10:33:01 -0700
commit35bae087dce1e88c66007907f9e1b6b5b2958f10 (patch)
tree0234d2c1a5d421a0a30165b2e7fc6e96462a13df /tensorflow/examples
parent862d753d4edac42b2af440ae999b61b80e94e000 (diff)
Fix typo in low latency svdf model.
PiperOrigin-RevId: 210934704
Diffstat (limited to 'tensorflow/examples')
-rw-r--r--tensorflow/examples/speech_commands/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/examples/speech_commands/models.py b/tensorflow/examples/speech_commands/models.py
index 4d1454be0d..c63d4c3c7d 100644
--- a/tensorflow/examples/speech_commands/models.py
+++ b/tensorflow/examples/speech_commands/models.py
@@ -634,7 +634,7 @@ def create_low_latency_svdf_model(fingerprint_input, model_settings,
label_count = model_settings['label_count']
final_fc_weights = tf.get_variable(
name='final_fc_weights',
- initializer=tf.truncated_normal(stddev=0.01),
+ initializer=tf.truncated_normal_initializer(stddev=0.01),
shape=[second_fc_output_channels, label_count])
final_fc_bias = tf.get_variable(
name='final_fc_bias',