Python交互式会话:
> py
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> config = tf.ConfigProto()
>>> config.gpu_options.per_process_gpu_memory_fraction = 0.4
>>> session = tf.Session(config=config,...)
File "<stdin>", line 1
SyntaxError: positional argument follows keyword argument
您能帮我解决这个问题吗?