提交 6577998a 编写于 作者: 愤怒的火龙's avatar 愤怒的火龙 提交者: Aston Zhang

Update optimization-intro.md (#529)

增加了一处注释
上级 6bc62fc0
......@@ -41,6 +41,7 @@ def f(x):
d2l.set_figsize((4.5, 2.5))
x = np.arange(-1.0, 2.0, 0.1)
# 逗号表示只取返回列表中的第一个元素
fig, = d2l.plt.plot(x, f(x))
fig.axes.annotate('local minimum', xy=(-0.3, -0.25), xytext=(-0.77, -1.0),
arrowprops=dict(arrowstyle='->'))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册