- 博客(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 1452 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 1966
原创 MDK5.23中文件图标上红叉,横杠,灰色,叹号的含义
红色的小叉号表示当前RTE库文件与MDK版本不符,可以通过右击升级来解决。横杠表示隔离,可以通过右击文件设置。感叹号表示文件已被删除。MDK自带的文件组隔离后是灰色。
2020-05-09 10:51:30 4908
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人