code_2.py 153 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2
weight = weight - alpha*derivative_wight # 结合学习速率alpha更新权重
bias = bias - alpha*derivative_bias # 结合学习速率alpha更新偏置