上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 187 下一页
摘要: 首先在python里检查,也是大家用的最多的方式,检查GPU是否可用(但实际并不一定真的在用) import torch torch.cuda.is_available() False(显示结果:不可用) True(显示结果:可用) import torch # setting device on 阅读全文
posted @ 2023-03-22 08:19 myrj 阅读(3026) 评论(0) 推荐(0)
摘要: 1. && 左边表达式为0,则最后结果为0,右边的表达式不用计算 2. | 左边表达式为1,则最后结果为1,右边的表达式不用计算 3. unsigned 无符号整型 4. int a=4; //二进制: 原码 反码 补码:00000000 00000000 0000000000000100 int 阅读全文
posted @ 2023-03-22 06:46 myrj 阅读(98) 评论(0) 推荐(0)
摘要: Codon是一个高性能的Python编译器,可以将Python代码编译成本地机器代码,没有任何运行时开销。与Python相比,单线程的典型加速比在10-100倍以上。Codon的性能通常与C / C ++相当(有时甚至更好)。与Python不同,Codon支持本地多线程,这可能导致速度提高多倍。Co 阅读全文
posted @ 2023-03-21 22:04 myrj 阅读(600) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { char a[]="hellofg",*p=a; printf("%c\n",*p+5) ;//*p得到指针指的字符,+5是字符ASCII码加5 ,结果为m printf("%c\n",*(p+5)) ;//h:p+0 e:p+1....f:p 阅读全文
posted @ 2023-03-21 09:33 myrj 阅读(83) 评论(0) 推荐(0)
摘要: from rembg import remove from PIL import Image input_path="tuurenwu.png" out="mca.png" input=Image.open(input_path) outa=remove(input) outa.save(out) 阅读全文
posted @ 2023-03-21 07:15 myrj 阅读(122) 评论(0) 推荐(0)
摘要: 选择英文,按shift+F3 阅读全文
posted @ 2023-03-20 21:03 myrj 阅读(167) 评论(0) 推荐(0)
摘要: 电脑没联网,有不认识的字:利用WORD的拼音指南 阅读全文
posted @ 2023-03-20 21:00 myrj 阅读(92) 评论(0) 推荐(0)
摘要: Microsoft Visual C++ Redistributable 阅读全文
posted @ 2023-03-20 20:50 myrj 阅读(105) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-03-20 20:44 myrj 阅读(16) 评论(0) 推荐(0)
摘要: Python 数据库名为 dataset,将关系型数据库包装为 NoSQL 使用方式,非常方便快捷。底层基于 SQLAlchemy,因此支持多种数据库 SQLite、PostgreSQL、MySQL。dataset.readthedocs.io/en/latest/ ​​​ 阅读全文
posted @ 2023-03-20 20:37 myrj 阅读(45) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 187 下一页