会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CharlesLC
Stay foolish, stay hungry.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2022年7月21日
pytorch 数据类型 和 numpy 数据 相互转化
摘要: tensor to numpy tensor数据在cpu上: 如果tensor数据在cpu上,直接使用.numpy()就可以转化。 例子: 注意:torch 和 numpy 转化后 指向地址相同 如果修改原始数据,那么转换后的数据也会修改,例子: tensor数据在gpu上: 如果tensor数据在
阅读全文
posted @ 2022-07-21 11:27 CharlesLC
阅读(283)
评论(0)
推荐(0)
2022年7月3日
反思
该文被密码保护。
阅读全文
posted @ 2022-07-03 23:45 CharlesLC
阅读(0)
评论(0)
推荐(0)
2022年6月23日
常用算法模板
该文被密码保护。
阅读全文
posted @ 2022-06-23 00:26 CharlesLC
阅读(0)
评论(0)
推荐(0)
2022年6月16日
有感
该文被密码保护。
阅读全文
posted @ 2022-06-16 17:43 CharlesLC
阅读(0)
评论(0)
推荐(0)
分享-感慨
该文被密码保护。
阅读全文
posted @ 2022-06-16 01:01 CharlesLC
阅读(0)
评论(0)
推荐(0)
2022年6月5日
来自好友的一封信
该文被密码保护。
阅读全文
posted @ 2022-06-05 15:29 CharlesLC
阅读(0)
评论(0)
推荐(0)
2022年3月20日
git操作
摘要: 前言 为了下次方便查阅,总结了一些常用git操作: git config --global user.name xxx:设置全局用户名,信息记录在~/.gitconfig文件中 后续更新 git config --global user.email xxx@xxx.com:设置全局邮箱地址,信息记录
阅读全文
posted @ 2022-03-20 23:13 CharlesLC
阅读(52)
评论(0)
推荐(0)
2022年3月16日
Tmux 操作
摘要: 写在前面 仅为了方便自己学习,源地址:https://gist.githubusercontent.com/ryerh/14b7c24dfd623ef8edc7/raw/dc1e8a60fcf489c717c7fe05ca6cbf6a270fdc29/tmux-cheatsheet.markdown
阅读全文
posted @ 2022-03-16 16:14 CharlesLC
阅读(171)
评论(0)
推荐(0)
2022年3月13日
LaTex一些操作的记录,以便查阅
摘要: 为了便于自己和大家编写,每次忘了可以查,写下了这篇博客。(后续更新) 表格 修改间距问题 表格上下间距 \renewcommand\arraystretch{0.7} 一栏两张图片 \begin{figure}[H] \centering \begin{minipage}{7cm} \centeri
阅读全文
posted @ 2022-03-13 12:29 CharlesLC
阅读(112)
评论(0)
推荐(0)
2022年3月10日
pytorch方法整理--gather&squeeze&unsqueeze&其他一些函数
摘要: gather pytorch中gather源码形式:torch.gather(input, dim, index, *, sparse_grad = False, out = None) 然后在pytorch官方文档中,写了这样的一个例子,这个例子是三维的 out[i][j][k] = input[
阅读全文
posted @ 2022-03-10 10:18 CharlesLC
阅读(179)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告