>>267b

f = lambda w: net.loss(x, t)

この関数にはリターン文がありませんが、
net.loss(x, t)
の値が返るんですか?