turtle.forward(distance) 向当前画笔方向移动distance像素长度 turtle.backward(distance) 向当前画笔相反方向移动distance像素长度 turtle.right(degree) 顺时针移动degree° turtle.left(degree) ...
分类:
编程语言 时间:
2019-04-05 21:31:59
阅读次数:
365
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Example 3: ...
分类:
其他好文 时间:
2019-04-04 09:27:56
阅读次数:
162
注意: 1.每次更新,都要进行一次完整的forward和backward,想要进行更新,需要梯度,所以你需要前馈样本,马上反向求导,得到梯度,然后根据求得的梯度进行权值微调,完成权值更新。 2.前馈得到损失,反馈得到梯度,对梯度的使用来完成权值更新。 3. 训练的过程,前馈,反馈,更新;...... ...
分类:
其他好文 时间:
2019-03-13 21:28:25
阅读次数:
222
A string is palindrome, if the string reads the same backward and forward. For example, strings like "a", "aa", "appa", "queryreuq" are all palindrome ...
分类:
其他好文 时间:
2019-02-05 18:08:05
阅读次数:
232
# 绘制分形树import turtle def draw_brach(brach_length): if brach_length > 5: turtle.pencolor("brown") turtle.pensize(3) turtle.forward(brach_length) turtle ...
分类:
其他好文 时间:
2019-01-23 10:38:34
阅读次数:
259
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Example 3: ...
分类:
其他好文 时间:
2019-01-22 23:03:56
阅读次数:
313
终于来到了卷积网络 首先完成最基本的前向传播: Testing conv_forward_naive difference: 2.2121476417505994e 08 一个有趣的测试,通过我们实现的卷积层处理图片,得到其边缘信息。 完成基本的后向传播: Testing conv_backward ...
分类:
Web程序 时间:
2018-12-28 23:37:36
阅读次数:
333
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 Output: tru ...
分类:
其他好文 时间:
2018-12-28 16:40:20
阅读次数:
199
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Example 3: ...
分类:
其他好文 时间:
2018-12-17 20:13:52
阅读次数:
179
turtle是python最基础的画图函数。常用的调用:turtle.forward()(向前,参数为向前移动的像素值),turtle.backward()(向后,参数为向后移动的像素值),turtle.right()(向右转,参数为向右转的角度)turtle.left()(向左转,参数为向左转的角 ...
分类:
其他好文 时间:
2018-12-11 11:15:33
阅读次数:
242