梯度下降的問題

%matplotlib inline import gluonbook as gb import math from mxnet import nd import numpy as np eta = 0.4 def f_2d(x1,x2): return 0.1*x1**2 + 2*x2**2 def gd_2d(x1,x2,s1,s2): return (x1-eta*0.
相關文章
相關標籤/搜索