Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-nnpack

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-nnpack

Node bindings for NNPACK

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-nnpack

Node bindings for NNPACK (https://github.com/Maratyszcza/NNPACK).

To build this module or install it via npm please make sure that NNPACK_ROOT points at the directory NNPACK was built in (/include and /lib must be present).

NNPACK_ROOT=/home/user/nnpack npm install

All data is expected to be passed as Float32Array.

convolution(input_channels,
            output_channels,
            input_width,
            input_height,
            padding_top,
            padding_right,
            padding_bottom,
            padding_left,
            kernel_width,
            kernel_height,
            stride_width,
            stride_height,
            input,
            kernel,
            bias, // can be null
            output);

fullyConnected(input_channels,
               output_channels,
               input,
               kernel,
               output);

relu(batch_size,
     channels,
     input,
     output,
     negative_slope);

maxPooling(batch_size,
           channels,
           input_width,
           input_height,
           padding_top,
           padding_right,
           padding_bottom,
           padding_left,
           kernel_width,
           kernel_height,
           stride_width,
           stride_height,
           input,
           output);

Keywords

FAQs

Package last updated on 18 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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