Commit 6f086458 authored by Yuxin Wu's avatar Yuxin Wu

fix lint and bump nightly version

parent c920872c
...@@ -25,9 +25,9 @@ matrix: ...@@ -25,9 +25,9 @@ matrix:
env: TF_VERSION=1.0.1 TF_TYPE=nightly env: TF_VERSION=1.0.1 TF_TYPE=nightly
- os: linux - os: linux
python: 3.5 python: 3.5
env: TF_VERSION=1.0.1 TF_TYPE=nightly env: TF_VERSION=1.head TF_TYPE=nightly
allow_failures: allow_failures:
- env: TF_VERSION=1.0.1 TF_TYPE=nightly - env: TF_VERSION=1.head TF_TYPE=nightly
install: install:
- pip install -U pip # the pip version on travis is too old - pip install -U pip # the pip version on travis is too old
......
...@@ -74,7 +74,7 @@ class Model(ModelDesc): ...@@ -74,7 +74,7 @@ class Model(ModelDesc):
input, nextinput = inputs input, nextinput = inputs
cell = rnn.MultiRNNCell([rnn.BasicLSTMCell(num_units=param.rnn_size) cell = rnn.MultiRNNCell([rnn.BasicLSTMCell(num_units=param.rnn_size)
for _ in range(param.num_rnn_layer)]) for _ in range(param.num_rnn_layer)])
def get_v(n): def get_v(n):
ret = tf.get_variable(n + '_unused', [param.batch_size, param.rnn_size], ret = tf.get_variable(n + '_unused', [param.batch_size, param.rnn_size],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment