上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
摘要: 网站: https://www.machinelearningplus.com/plots/top-50-matplotlib-visualizations-the-master-plots-python/ 数据来源: https://link.zhihu.com/?target=https%3A/ 阅读全文
posted @ 2020-11-17 21:34 爱吃砂糖橘的白龙 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 代码: def easy_conv1(img, kernal, step = 1): N = img.shape[0] # 图片边长 F = kernal.shape[0] # filter长 L = int((N-F)/step) + 1 # 输出结果边长 res = torch.zeros(L, 阅读全文
posted @ 2020-11-11 14:33 爱吃砂糖橘的白龙 阅读(1670) 评论(0) 推荐(0) 编辑
摘要: 自然辩证法就是研究自然界,科学技术,人类三者排列组合后的相互关系。演绎开来就是:自然界发展与科学技术发展的一般规律、人类认识和改造自然的一般方法、人类社会发展和科学技术发展的关系。我想针对这三个点分别谈谈我的看法。 首先是自然界发展与科学技术发展的一般规律。 自然界的变化显然是伴随着地球上生物种群的 阅读全文
posted @ 2020-11-10 09:28 爱吃砂糖橘的白龙 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 代码: def data_iter(n): for i in range(n): yield (i*i,i*i*i) for epoch in range(3): print("++++++In for Loop++++++") for a,b in data_iter(5): print("a = 阅读全文
posted @ 2020-11-06 22:06 爱吃砂糖橘的白龙 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 就是求: 参考自: 1: https://www.rookieslab.com/posts/fast-power-algorithm-exponentiation-by-squaring-cpp-python-implementation#brute-force-python-implementat 阅读全文
posted @ 2020-11-02 10:45 爱吃砂糖橘的白龙 阅读(232) 评论(0) 推荐(0) 编辑
摘要: The rural lifestyle has many advantages. As we all know, the countryside is closer to the field and natural scenery. The air is fresher, the river is 阅读全文
posted @ 2020-10-31 19:36 爱吃砂糖橘的白龙 阅读(193) 评论(0) 推荐(0) 编辑
摘要: GCD算法原理: 扩展GCD算法原理: 代码呀: def gcd(a, b): while a != 0: a, b = b%a, a return b # calc : b^(-1) mod m def IntModInverse(b, m, show = True): if gcd(m,b) ! 阅读全文
posted @ 2020-10-27 14:56 爱吃砂糖橘的白龙 阅读(437) 评论(0) 推荐(1) 编辑
摘要: jt -t solarizedl -fs 11 -f hasklig -cellw 75% -T jt -t solarizedl -fs 11 -f hasklig -cellw 75% -T 阅读全文
posted @ 2020-10-21 18:41 爱吃砂糖橘的白龙 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1. numpy.ndarray类型乘积 1.1 矩阵乘法 a@b np.dot(a, b) np.matmul(a, b) 1.2 对应位置元素相乘 a*b np.multiply(a, b) 2.numpy.matrix类型乘积 2.1 矩阵乘法 a@b a*b np.dot(a,b) np.m 阅读全文
posted @ 2020-10-20 16:04 爱吃砂糖橘的白龙 阅读(3663) 评论(0) 推荐(0) 编辑
摘要: 题目一 密钥矩阵的构造 新建5x5的表格,依次填入密钥单词,字母不重复,然后字母a-z一次不重复填入,注意字母i和字母j占据同一个位置,一般来说加密的时候明文中的j字母都可以替换成字母i。 密文两两分组 密文: KXJEY UREBE ZWEHE WRYTU HEYFS KREHE GOYFI WT 阅读全文
posted @ 2020-10-13 17:43 爱吃砂糖橘的白龙 阅读(2158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页