x = Variable((3, 1), name="x")
ValueError: Cannot broadcast dimensions (3, 1) (3, )
解决方案:
x = Variable((3, ), name="x")
shape……