10 2022 档案

摘要:#encoding:utf-8 class Solution: def makeSimilar(self, nums, target): nums.sort(key=lambda x: (x % 2, x)) # sort先按照第一个坐标排序, 所以偶数时候排到前面, 奇数排到后面 target.s 阅读全文

posted @ 2022-10-24 17:12 张博的博客 阅读(32) 评论(0) 推荐(0)

摘要:首先需要这个结论. 而这里 a_ia i​ 为任意正整数,我们便可以直接将其 **拆为 **a_ia i​ 个系数为 11 的绝对值表达式的和。接下来只需要考虑全体的中位数即可(采用关于数据本身排序,再记录累积的 costcost 何时突破总 costcost 的一半)。 作者:小羊肖恩链接:htt 阅读全文

posted @ 2022-10-24 16:52 张博的博客 阅读(46) 评论(0) 推荐(0)

摘要:代码仓库:https://github.com/zhangbo2008/pytorch011_backup 阅读全文

posted @ 2022-10-21 19:20 张博的博客 阅读(30) 评论(0) 推荐(0)

摘要:https://blog.csdn.net/glwolf3688993/article/details/124623762 阅读全文

posted @ 2022-10-20 22:48 张博的博客 阅读(28) 评论(0) 推荐(0)

摘要:https://github.com/zhangbo2008/how-to-debg_pytorch_sourcecode_into_cpp_part 阅读全文

posted @ 2022-10-14 09:46 张博的博客 阅读(17) 评论(0) 推荐(0)

摘要:2022-10-11,16点52 大概看了2个月不到的时间, 坚持每天看lua设计与实现.pdf 还有 csdn上面lua的博客. 然后自己debug研究. 最后把细节加到注释里面. 建议看这个项目时候跟着readme里面步奏来学习. https://github.com/zhangbo2008/l 阅读全文

posted @ 2022-10-11 16:54 张博的博客 阅读(132) 评论(0) 推荐(0)

导航