Comparing version 0.2.0 to 0.2.1
@@ -68,6 +68,3 @@ "use strict"; | ||
NDArrayMathGPU.prototype.slice2DInternal = function (input, beginRowCol, sizeRowCol) { | ||
var result = ndarray_1.NDArray.make(sizeRowCol, { | ||
texture: this.textureManager.acquireTexture(sizeRowCol), | ||
textureShapeRC: sizeRowCol | ||
}); | ||
var result = this.makeOutputArray(sizeRowCol); | ||
this.copy2DInternal(input, beginRowCol, sizeRowCol, result, [0, 0], sizeRowCol); | ||
@@ -74,0 +71,0 @@ return result; |
import { Node } from './graph'; | ||
import { NDArrayMath } from './math/math'; | ||
import { SessionRuntime } from './session'; | ||
import { SGDOptimizer } from './sgd_optimizer'; | ||
import { SessionRuntime } from './session'; | ||
import { TensorArrayMap, SummedTensorArrayMap } from './tensor_array_map'; | ||
import { SummedTensorArrayMap, TensorArrayMap } from './tensor_array_map'; | ||
export declare class MomentumOptimizer extends SGDOptimizer { | ||
@@ -7,0 +7,0 @@ protected learningRate: number; |
{ | ||
"name": "deeplearn", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Hardware-accelerated JavaScript library for machine intelligence", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -119,8 +119,4 @@ <a id="travis-badge" href="https://travis-ci.org/PAIR-code/deeplearnjs" alt="Build Status"> | ||
To build and publish an npm package, update the version number in `package.json` and run: | ||
To install it locally, run `npm install ./dist/deeplearn-VERSION.tgz`. | ||
```bash | ||
$./scripts/publish-npm.sh | ||
``` | ||
> On Windows, use bash (available through git) to use the scripts above. | ||
@@ -127,0 +123,0 @@ |
452132
9208
150