onnxruntime/js/common/lib
Yulong Wang f274bbb0c8
[js] add API that allows to get package version (#16207)
### Description

Add an API for users to get version of current package. example usage:

```js
import { env } from 'onnxruntime-node';

console.log(env.versions.node);  // output "1.16.0"
```

```js
import { env } from 'onnxruntime-web';

console.log(env.versions.web);  // output "1.16.0"
console.log(env.versions.common);  // output "1.16.0"
console.log(env.versions.node);  // output "undefined"
```

#16156
2023-06-09 16:18:53 -07:00
..
backend-impl.ts [js/web] add 'xnnpack' to EP list (#12723) 2022-10-03 10:38:45 -07:00
backend.ts [js/api] add typedoc and revise comments (#9077) 2021-09-20 17:54:46 -07:00
env-impl.ts [js] add API that allows to get package version (#16207) 2023-06-09 16:18:53 -07:00
env.ts [js] add API that allows to get package version (#16207) 2023-06-09 16:18:53 -07:00
index.ts [js/api] add typedoc and revise comments (#9077) 2021-09-20 17:54:46 -07:00
inference-session-impl.ts [js] allow manually release inference session (#16169) 2023-05-31 00:31:38 -07:00
inference-session.ts [js] allow manually release inference session (#16169) 2023-05-31 00:31:38 -07:00
onnx-value.ts
tensor-impl.ts [WebNN EP] Merge support for segment anything into main branch (#16208) 2023-06-07 09:56:37 -07:00
tensor-utils.ts Tensor <--> image - Adding per channel compute for Norm mean & Bias (#14705) 2023-05-01 09:37:50 -07:00
tensor.ts [WebNN EP] Merge support for segment anything into main branch (#16208) 2023-06-07 09:56:37 -07:00
version.ts [js] add API that allows to get package version (#16207) 2023-06-09 16:18:53 -07:00