Skip to content
Waylon Flinn edited this page Jan 4, 2016 · 1 revision

API Classes

  • 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

GEMM

Javascript and WebGL versions use different matrix layouts

  • javascript is column major
  • webgl is row major

LICENSE

BSD 3-Clause

Clone this wiki locally