pytorch—双缝测试神经网络
def double_silts(length=20, distance=4, object=2):
m = np.zeros(shape=(28, 28))
print(m)
length = length # 缝的长度
distance = distance # 中间的间距
object = object # 物体的宽度
h = (28 - length) // 2 # 4
w = (28 - distance - object * 2).
原创
2021-10-23 19:13:58 ·
141 阅读 ·
0 评论