例:f = theano.function(
inputs=[x,y],#输入参数
outputs=[prediction, xent],#输出参数
updates=((w, w - 0.1 * gw), (b, b - 0.1 * gb)))#共享变量参数更新
1).inputs:要输入的自变量参数
2).outputs:要输出的因变量参数
3).updates:对共享变量w,b进行更新,形如(共享变量,表达式),即根据表达式对共享变量进行更新