Useful stuff to know when trying to understand this library
Things I hope to make better
Matrix Multiply BLAS Benchmarks
Where the ideas (and sometimes code) come from
-
Buffer - generalized array class. sometimes used at image level, sometimes batch level
- stores TypedArray in
_data
(or_quantizedData
) - shape stored in
Dimension
class in_dims
[batch, rows, columns, channels]
(this.valueAt(imageCount, y, x, channel)
from showDebugImage)[rows, columns, channels]
(this._dims.offset(originY, originX, 0);
from extractSubregion)
- stores TypedArray in
-
Dimensions - shape class with some syntactic sugar
- shape is a javascript Array stored in
_dims
- shape is a javascript Array stored in
LICENSE: BSD 3-Clause
- gpu_matrix simple matrix class
- row-major ordering (c style)
- stores typed array in
data
- dimensions (2D only) stored in
r
(row count) andc
(column count) properties