Commit d2c7a37b authored by Lukasz Kaiser's avatar Lukasz Kaiser
Browse files

Merge pull request #39 from orionr/fix-nonzero-typeerror

Fix issue in neural_gpu.py where TypeError is raised.
parents 6406a152 ba15af6e
......@@ -23,7 +23,7 @@ import data_utils
def conv_linear(args, kw, kh, nin, nout, do_bias, bias_start, prefix):
"""Convolutional linear map."""
assert args
assert args is not None
if not isinstance(args, (list, tuple)):
args = [args]
with tf.variable_scope(prefix):
......
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