Webdnn

Latest version: v1.2.10

Safety actively analyzes 630217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.1.0

// "WebDNN.prepareAll()" is removed. Please use "WebDNN.load"
let runner = await WebDNN.load(modelPath);

// You can can get input and output views synchronously
let x = runner.getInputViews()[0];
let y = runner.getOutputViews()[0];

// You can modify dynamic hyper parameter at run-time (ex: length of input time series)
runner.setPlaceholderValue({ T: 8 });

x.set(loadTextData());

await runner.run();

//Because "runner.getInputViews()" and "runner.getOutputViews()" return "SymbolicArrayBufferView",
//To get actual ArrayBufferView, you need to convert them explicitly.
print('result:', y.toActual());


([\305](https://github.com/mil-tokyo/webdnn/pull/305), [\306](https://github.com/mil-tokyo/webdnn/pull/306), [\307](https://github.com/mil-tokyo/webdnn/pull/307), [\320](https://github.com/mil-tokyo/webdnn/pull/320), [\338](https://github.com/mil-tokyo/webdnn/pull/338))

Update Documents

Reference document is updated ([\342](https://github.com/mil-tokyo/webdnn/pull/342))

Support WebGPU Backend in iOS

From iOS 11, WebGPU is also supported in mobile safari (with experimental flag). WebDNN supports these environment. ([\330](https://github.com/mil-tokyo/webdnn/pull/330))

Add Operators

- Zeropad [\341](https://github.com/mil-tokyo/webdnn/pull/341)
- LSTM [\300](https://github.com/mil-tokyo/webdnn/pull/300) [\301](https://github.com/mil-tokyo/webdnn/pull/301) [\337](https://github.com/mil-tokyo/webdnn/pull/337) [\340](https://github.com/mil-tokyo/webdnn/pull/340)
- Dilated convolution [\326](https://github.com/mil-tokyo/webdnn/pull/326)
- Softmax [\325](https://github.com/mil-tokyo/webdnn/pull/325)
- Sigmoid [\324](https://github.com/mil-tokyo/webdnn/pull/324)
- Softplus [\324](https://github.com/mil-tokyo/webdnn/pull/324)
- Sigmoid [\324](https://github.com/mil-tokyo/webdnn/pull/324)
- Clipped ReLU [\324](https://github.com/mil-tokyo/webdnn/pull/324)
- Hard Sigmoid [\324](https://github.com/mil-tokyo/webdnn/pull/324)
- Leaky ReLU [\324](https://github.com/mil-tokyo/webdnn/pull/324)

Fix Many Bugs

Enormous number of bugs are fixed!

1.0.0

First release.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.