自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 Expected self.dtype to be equal to src.dtype错误解决方法

a = tp.arange(0, 16).view(4, 4)print(a)index = tp.LongTensor([[0, 1, 2, 3]])print(index)print(a.gather(0, index))index = tp.LongTensor([[3, 2, 1, 0]]).t()print(a.gather(1, index))index = tp.LongTensor([[3, 2, 1, 0]])print(a.gather(0, index))index

2021-03-20 23:29:41 1234 1

原创 NRF52 nrf_drv_spi_transfer函数详解

When you call nrf_drv_spi_transfer(&m_spi_m, tx_buffer, tx_bytes, rx_buffer, rx_bytes), specify value for tx_bytes, it is the number of bytes you want to put on the SPI master-out pin; rx_bytes refers to the number of bytes you want to fill for the rx_

2020-05-22 16:48:13 1827

原创 MDK5.23中文件图标上红叉,横杠,灰色,叹号的含义

红色的小叉号表示当前RTE库文件与MDK版本不符,可以通过右击升级来解决。横杠表示隔离,可以通过右击文件设置。感叹号表示文件已被删除。MDK自带的文件组隔离后是灰色。

2020-05-09 10:51:30 4748

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除