![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 81
Life Is Beautiful
XJTU BEng in Automation;
SUST RA
展开
-
pybind11 Eigen + STL Containers + Numpy
Pybind11梳理一下 Pybind11 中 Eigen 和 STL 容器与 Python 交互的方式。需要先了解Functions章节中关于返回值和调用的规则。STL 容器Pybind11 已经自动支持 std::vector<>/std::deque<>/std::list<>/std::array<>/std::valarray<>, std::set<>/std::unordered_set<>, and s原创 2021-08-18 20:11:06 · 1296 阅读 · 0 评论 -
Pytorch 分布式训练
Pytorch 分布式训练整理介绍 TCP / ENV 初始化方式。原创 2021-05-15 12:07:48 · 1847 阅读 · 0 评论 -
Computation in Pytorch
文章目录Tensor in PytorchParameterTensor in Pytorch记录一些 pytorch 中 Tensor 和 Parameter 使用方法。ParameterParameter 赋值。翻译 2021-02-26 17:33:30 · 66 阅读 · 0 评论 -
Python Bytes
文章目录字节操作字节类Bytes ClassBytearray ClassCommon Operations转换NumpyStructFormat字节操作字节类python 中处理字节有两种类型,bytes 和 bytearray 类。两者都是序列,前者类似元组(不可更改),后者类似列表。Bytes Classbytes 与 str 类相似。创建方法:由字符创建(ASCII 码),b'{text here}'From an iterable of integers: bytes(range(原创 2021-02-24 10:57:22 · 163 阅读 · 0 评论