Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 2.18 KB

NOTES.md

File metadata and controls

45 lines (29 loc) · 2.18 KB

Notes

Useful stuff to know when trying to understand this library

Targets

Things I hope to make better

Performance Targets

Matrix Multiply BLAS Benchmarks

Based On

Where the ideas (and sometimes code) come from

DeepBeliefSDK

  • 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)
  • Dimensions - shape class with some syntactic sugar

    • shape is a javascript Array stored in _dims

LICENSE: BSD 3-Clause

WebGL Demo

  • gpu_matrix simple matrix class
    • row-major ordering (c style)
    • stores typed array in data
    • dimensions (2D only) stored in r (row count) and c (column count) properties