Traceback (most recent call last):


 "test.py", line 10, in <module>

grad2 = fluid.gradients(net(x - grad1), x)[0] # gradients( (x - 2x)^2) = 2x = 4
IndexError: list index out of range
Traceback (most recent call last):

 "/usr/local/aws-cli/lib/python2.7/site-packages/awscli/customizations/s3/executor.py", line 257, in run
self._process_print_task(print_task)

 "/usr/local/aws-cli/lib/python2.7/site-packages/awscli/customizations/s3/executor.py", line 308, in _process_print_task
uni_print(final_str)

 "/usr/local/aws-cli/lib/python2.7/site-packages/awscli/customizations/s3/utils.py", line 199, in uni_print
sys.stdout.write(statement.encode(sys.stdout.encoding))UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 54: ordinal not in range(128)