Skip to content

Commit

Permalink
Merge pull request tensorflow#39 from orionr/fix-nonzero-typeerror
Browse files Browse the repository at this point in the history
Fix issue in neural_gpu.py where TypeError is raised.
  • Loading branch information
lukaszkaiser committed Apr 6, 2016
2 parents 6406a15 + ba15af6 commit d2c7a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neural_gpu/neural_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

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):
Expand Down

0 comments on commit d2c7a37

Please sign in to comment.