- 博客(3)
- 收藏
- 关注
原创 gitlab搬迁到其它服务器
由于一些因素,需要把gitlab从A服务器搬迁到B服务器,现记录步骤如下:1. 查看A服务器的gitlab版本号:cat /opt/gitlab/embedded/service/gitlab-rails/VERSION2. 在B服务器安装相同版本的gitlab:sudo apt-get updatesudo apt-get install -y curl openssh-server ca-certificatessudo apt-get install -y postfix去
2021-03-31 11:37:52
444
原创 numpy三维batch矩阵相乘
写代码时候遇到了带batch的矩阵乘法,需要用numpy实现。即A=[batch,height,width], B=[batch,width,height], C=AB=[batch,height,height]。在tensorflow中是可以直接使用tf.matmul得到结果的,但是在numpy中没有现成的三维矩阵乘法。三维矩阵乘法的思路就是:C[0]=A[0]B[0], C[1]=A[1]B[1],也就是分别将A和B的batch的每个样本进行矩阵乘法,然后构成C。在numpy中可以使用np.eins
2020-07-21 19:56:22
8292
1
原创 TimeGen绘制波形时序图以及去掉背景logo
写文档时需要绘制一个波形时序图,比如下图,想着用quartus和visio不是很方便,找到一款很好用的软件TimeGen。TimeGen官网下载链接:http://www.xfusionsoftware.com/download_timegen.html直接看效果:画完之后去掉背景logo:(1)View-TimeGen Logo去掉勾;View-Bounding Rectangle去掉勾;(2)...
2018-05-03 19:03:13
9785
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人