public class LibMatrixDNNHelper extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
LibMatrixDNNHelper.CellIndex3 |
Constructor and Description |
---|
LibMatrixDNNHelper() |
Modifier and Type | Method and Description |
---|---|
protected static LibMatrixDNNHelper.CellIndex3 |
computeTensorIndexes(int j,
int H,
int W) |
protected static LibMatrixDNNHelper.CellIndex3 |
computeTensorIndexes(int j,
int N,
int M,
LibMatrixDNNHelper.CellIndex3 ret)
Computes tensor indexes from a linearized column index such that
the column index is equal to ix1*NM + ix2*M + ix3
|
protected static void |
singleThreadedMatMult(MatrixBlock m1,
MatrixBlock m2,
MatrixBlock ret,
boolean recomputeNNZM1,
boolean recomputeNNZM2,
DnnParameters params) |
protected static LibMatrixDNNHelper.CellIndex3 computeTensorIndexes(int j, int H, int W)
protected static LibMatrixDNNHelper.CellIndex3 computeTensorIndexes(int j, int N, int M, LibMatrixDNNHelper.CellIndex3 ret)
j
- column indexN
- second last dimensionM
- last dimensionret
- output object for reuseprotected static void singleThreadedMatMult(MatrixBlock m1, MatrixBlock m2, MatrixBlock ret, boolean recomputeNNZM1, boolean recomputeNNZM2, DnnParameters params)
Copyright © 2018 The Apache Software Foundation. All rights reserved.