摘要: cmake_minimum_required(VERSION 3.0) #指定cmake最小版本project(cloud_viewer) # 设置项目名称 它会引入两个变量 cloud_viewer_BINARY_DIR cloud_viewer_SOURCE_DIR add_executable 阅读全文
posted @ 2022-11-01 09:49 qilibin 阅读(74) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Jacob_job/article/details/79431712 阅读全文
posted @ 2022-05-19 11:17 qilibin 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 模型量化的本质就是将模型中的参数按照一定的规则 把32位或者64位浮点数 转化位16位浮点数或者8位定点数。这里我用keras和numpy实现了16位和8位的量化,未考虑量化的科学合理性,仅仅是搞清楚量化本质的一次实验。 量化 """ #coding:utf-8 __project_ = 'TF2l 阅读全文
posted @ 2021-03-17 16:17 qilibin 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 # coding:utf-8 """ Name : LeetCode28.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/7 17:17 Desc:实现 strStr() """ class Solution: d 阅读全文
posted @ 2021-02-07 17:22 qilibin 阅读(58) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 """ Name : 剑指offer58.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/7 14:14 Desc: 左旋字符串 """ class Solution: def reverseLef 阅读全文
posted @ 2021-02-07 17:21 qilibin 阅读(30) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 """ Name : 剑指offer05.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/7 9:56 Desc: 替换字符串空格 """ # python 字符串不可原地修改 因此先将字符串转换为 阅读全文
posted @ 2021-02-07 10:33 qilibin 阅读(32) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 """ Name : NO541.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/7 9:28 Desc: 翻转字符串2 """ #解题思路 # 把遍历的步长改为 2*k 即可 将 i:i + k 阅读全文
posted @ 2021-02-07 09:55 qilibin 阅读(52) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 """ Name : NO344.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/6 23:21 Desc: 反转字符串 """ from typing import List # 解题思路 # 双 阅读全文
posted @ 2021-02-06 23:30 qilibin 阅读(122) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 """ Name : LeetCode18.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/6 21:30 Desc: 四数之和 扩展到 n数之和 """ from typing import Li 阅读全文
posted @ 2021-02-06 22:34 qilibin 阅读(81) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 """ Name : LeetCode383.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/6 9:32 Desc:赎金信 """ # 解题思路 和四数相加思路类似 # 1分为两部分 将两个字符串 阅读全文
posted @ 2021-02-06 10:08 qilibin 阅读(31) 评论(0) 推荐(0) 编辑