コード例 #1
0
ファイル: CUDAMatrix.java プロジェクト: LeiSoft/jDNN
 public DMatrix muli(DMatrix other) {
   assert (this.length() == other.length());
   SimpleCuBlas.mul(this, other, this);
   return this;
 }
コード例 #2
0
ファイル: CUDAMatrix.java プロジェクト: LeiSoft/jDNN
 public DMatrix mul(DMatrix other) {
   assert (this.length() == other.length());
   DMatrix m = new CUDAMatrix(this.rows(), this.columns());
   SimpleCuBlas.mul(this, other, m);
   return m;
 }