Loading

上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: Go语言操作MySQL MySQL是业界常用的关系型数据库,本文介绍了Go语言如何操作MySQL数据库。 Go操作MySQL 连接 Go语言中的database/sql包提供了保证SQL或类SQL数据库的泛用接口,并不提供具体的数据库驱动。使用database/sql包时必须注入(至少)一个数据库驱 阅读全文
posted @ 2022-08-25 14:26 suehoo 阅读(110) 评论(0) 推荐(0)
摘要: Go路线图 阅读全文
posted @ 2022-08-25 13:07 suehoo 阅读(31) 评论(0) 推荐(0)
摘要: // 预处理查询示例 func prepareQueryDemo() { sqlStr := "select id, name, age from user where id > ?" stmt, err := db.Prepare(sqlStr) if err != nil { fmt.Print 阅读全文
posted @ 2022-08-25 10:46 suehoo 阅读(53) 评论(0) 推荐(0)
摘要: 1. Two Sum # 题目 # Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each i 阅读全文
posted @ 2022-08-24 15:52 suehoo 阅读(42) 评论(0) 推荐(0)
摘要: 孪生网络代码 知识蒸馏代码 分布式机器学习代码 阅读全文
posted @ 2022-08-23 20:41 suehoo 阅读(39) 评论(0) 推荐(0)
摘要: ![image-20220823203109824](https://img2022.cnblogs.com/blog/1623071/202208/1623071-20220823203112079-1891449255.png) ![image-20220823203131905](https://img2022.cnblogs.com/blog/1623071/202208/1623071- 阅读全文
posted @ 2022-08-23 20:39 suehoo 阅读(72) 评论(0) 推荐(0)
摘要: 《Learning a Similarity Metric Discriminatively, with Application to Face Verification.》 《Hamming Distance Metric Learning》 《Learning to Compare Image 阅读全文
posted @ 2022-08-23 16:35 suehoo 阅读(54) 评论(0) 推荐(0)
摘要: 第一个方向是把一个已经训练好的臃肿的网络进行瘦身 权值量化:把模型的权重从原来的32个比特数变成用int8,8个比特数来表示,节省内存,加速运算 剪枝:去掉多余枝干,保留有用枝干。分为权重剪枝和通道剪枝,也叫结构化剪枝和非结构化剪枝,一根树杈一根树杈的剪叫非结构化剪枝,也可以整层整层的剪叫结构化剪枝 阅读全文
posted @ 2022-08-23 14:32 suehoo 阅读(126) 评论(0) 推荐(0)
摘要: 判断大小端 C include typedef unsigned char byte_pointer; void show_int(int x); void show_pointer(void x); void show_bytes(byte_pointer start ,size_t len); 阅读全文
posted @ 2022-05-23 22:45 suehoo 阅读(47) 评论(0) 推荐(0)
摘要: 将1,2,3,4组成互不相同且无重复的三位数 汉诺塔 阅读全文
posted @ 2022-05-23 22:43 suehoo 阅读(57) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 下一页