Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6406a15 + ba15af6 commit d2c7a37Copy full SHA for d2c7a37
neural_gpu/neural_gpu.py
@@ -23,7 +23,7 @@
23
24
def conv_linear(args, kw, kh, nin, nout, do_bias, bias_start, prefix):
25
"""Convolutional linear map."""
26
- assert args
+ assert args is not None
27
if not isinstance(args, (list, tuple)):
28
args = [args]
29
with tf.variable_scope(prefix):
0 commit comments