- 博客(2)
- 收藏
- 关注
原创 numpy中ndarray对运算符“=“的判断
可见test和location_present类似“绑定”在一起了,这是因为运算符"="在这里相当于把location_present的指针指向了test的地址。为了避免这种错误的赋值,可以用copy(),如:test = location_present.copy()达成了类似ndarray* location = &test的效果。
2024-02-21 17:05:08
333
1
原创 解决ic(icecream)异常问题
ic| Error: Failed to access the underlying source code for analysis. Was ic() invoked in a REPL (e.g. from the command line), a frozen application (e.g. packaged with PyInstaller), or did the underlying source code change during execution?
2024-01-23 20:22:12
866
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人