New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

deeplearn

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deeplearn - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

5

dist/src/math/math_gpu.js

@@ -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;

4

dist/src/momentum_optimizer.d.ts
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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc