code_1.py 113 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3 4
iterations = 100# 迭代100次
alpha = 1# 初始学习速率设为1
weight = -5 # 权重
bias = 3 # 偏置