- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 设置stride
一个height*width的buffer,按照列方向取数,为了避免bank冲突,需要设置合适的stride_w。即:stride_w = half_up_round((width - 8) / 16) * 16 + 8。经过上述代码寻找,得到如下stride。总结为:y=16*x+8,其中x为整数。
2025-03-01 13:51:11
328
原创 numpy-创建array
函数原型:numpy.array(object, dtype=None, *, copy=True, order='K', subok=False, ndmin=0, like=None)参考链接:https://numpy.org/doc/1.22/reference/generated/numpy.empty_like.html#numpy.empty_like。函数原型:numpy.ones_like(a, dtype=None, order='K', subok=True, shape=None)
2024-12-08 16:16:52
701
原创 git clone 指定depth参数下载仓库后进行切换分支
有的时候由于仓库比较大,为了git clone速度快点,会指定depth参数。但是仓库下载下来之后,进行切换分支时,出现问题。
2024-08-17 22:23:14
1229
2
My Linux.zip
2020-07-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人