diff --git a/docs/api/index.md b/docs/api/index.md index b090fd3497..7873f07d1d 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -12,4 +12,5 @@ nav_order: 5 | [Objective C Docs](./objectivec/index.html){: .btn} | | [WinRT API Docs](https://docs.microsoft.com/windows/ai/windows-ml/api-reference){: .btn} | | [C# API Docs](./csharp-api){: .btn} | +| [JavaScript API Docs](./js/index.html){: .btn} | | [Other API Docs](./other-apis){: .btn} | \ No newline at end of file diff --git a/docs/api/js-api.md b/docs/api/js-api.md new file mode 100644 index 0000000000..438de4ebdb --- /dev/null +++ b/docs/api/js-api.md @@ -0,0 +1,10 @@ +--- +title: JavaScript API +parent: API Docs +nav_order: 6 +--- + +# ONNX Runtime JavaScript API +{: .no_toc } + + [Go to the JavaScript API Docs](./js/index.html){: .btn .mr-4 target="_blank"} diff --git a/docs/api/js/assets/highlight.css b/docs/api/js/assets/highlight.css new file mode 100644 index 0000000000..d3090c5cee --- /dev/null +++ b/docs/api/js/assets/highlight.css @@ -0,0 +1,43 @@ +:root { + --light-hl-0: #000000; + --dark-hl-0: #C8C8C8; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #A31515; + --dark-hl-2: #CE9178; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --code-background: var(--dark-code-background); +} } + +body.light { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --code-background: var(--light-code-background); +} + +body.dark { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +pre, code { background: var(--code-background); } diff --git a/docs/api/js/assets/icons.css b/docs/api/js/assets/icons.css new file mode 100644 index 0000000000..776a3562d6 --- /dev/null +++ b/docs/api/js/assets/icons.css @@ -0,0 +1,1043 @@ +.tsd-kind-icon { + display: block; + position: relative; + padding-left: 20px; + text-indent: -20px; +} +.tsd-kind-icon:before { + content: ""; + display: inline-block; + vertical-align: middle; + width: 17px; + height: 17px; + margin: 0 3px 2px 0; + background-image: url(./icons.png); +} +@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { + .tsd-kind-icon:before { + background-image: url(./icons@2x.png); + background-size: 238px 204px; + } +} + +.tsd-signature.tsd-kind-icon:before { + background-position: 0 -153px; +} + +.tsd-kind-object-literal > .tsd-kind-icon:before { + background-position: 0px -17px; +} +.tsd-kind-object-literal.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -17px; +} +.tsd-kind-object-literal.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -17px; +} + +.tsd-kind-class > .tsd-kind-icon:before { + background-position: 0px -34px; +} +.tsd-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -34px; +} +.tsd-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -34px; +} + +.tsd-kind-class.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: 0px -51px; +} +.tsd-kind-class.tsd-has-type-parameter.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -17px -51px; +} +.tsd-kind-class.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -51px; +} + +.tsd-kind-interface > .tsd-kind-icon:before { + background-position: 0px -68px; +} +.tsd-kind-interface.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -68px; +} +.tsd-kind-interface.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -68px; +} + +.tsd-kind-interface.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: 0px -85px; +} +.tsd-kind-interface.tsd-has-type-parameter.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -17px -85px; +} +.tsd-kind-interface.tsd-has-type-parameter.tsd-is-private + > .tsd-kind-icon:before { + background-position: -34px -85px; +} + +.tsd-kind-namespace > .tsd-kind-icon:before { + background-position: 0px -102px; +} +.tsd-kind-namespace.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -102px; +} +.tsd-kind-namespace.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -102px; +} + +.tsd-kind-module > .tsd-kind-icon:before { + background-position: 0px -102px; +} +.tsd-kind-module.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -102px; +} +.tsd-kind-module.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -102px; +} + +.tsd-kind-enum > .tsd-kind-icon:before { + background-position: 0px -119px; +} +.tsd-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -119px; +} +.tsd-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -119px; +} + +.tsd-kind-enum-member > .tsd-kind-icon:before { + background-position: 0px -136px; +} +.tsd-kind-enum-member.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -136px; +} +.tsd-kind-enum-member.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -136px; +} + +.tsd-kind-signature > .tsd-kind-icon:before { + background-position: 0px -153px; +} +.tsd-kind-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -153px; +} +.tsd-kind-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -153px; +} + +.tsd-kind-type-alias > .tsd-kind-icon:before { + background-position: 0px -170px; +} +.tsd-kind-type-alias.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -170px; +} +.tsd-kind-type-alias.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -170px; +} + +.tsd-kind-type-alias.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: 0px -187px; +} +.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -17px -187px; +} +.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-private + > .tsd-kind-icon:before { + background-position: -34px -187px; +} + +.tsd-kind-variable > .tsd-kind-icon:before { + background-position: -136px -0px; +} +.tsd-kind-variable.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -0px; +} +.tsd-kind-variable.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-variable.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -0px; +} +.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -0px; +} +.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-variable.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -0px; +} +.tsd-kind-variable.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -0px; +} + +.tsd-kind-property > .tsd-kind-icon:before { + background-position: -136px -0px; +} +.tsd-kind-property.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -0px; +} +.tsd-kind-property.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-property.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -0px; +} +.tsd-kind-property.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -0px; +} +.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -0px; +} +.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -0px; +} +.tsd-kind-property.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-property.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -0px; +} +.tsd-kind-property.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -0px; +} +.tsd-kind-property.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-property.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -0px; +} +.tsd-kind-property.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -0px; +} + +.tsd-kind-get-signature > .tsd-kind-icon:before { + background-position: -136px -17px; +} +.tsd-kind-get-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -17px; +} +.tsd-kind-get-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -17px; +} + +.tsd-kind-set-signature > .tsd-kind-icon:before { + background-position: -136px -34px; +} +.tsd-kind-set-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -34px; +} +.tsd-kind-set-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -34px; +} + +.tsd-kind-accessor > .tsd-kind-icon:before { + background-position: -136px -51px; +} +.tsd-kind-accessor.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -51px; +} +.tsd-kind-accessor.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -51px; +} + +.tsd-kind-function > .tsd-kind-icon:before { + background-position: -136px -68px; +} +.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -68px; +} +.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -68px; +} +.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -68px; +} +.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -68px; +} +.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -68px; +} +.tsd-kind-function.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -68px; +} +.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -68px; +} +.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -68px; +} +.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -68px; +} + +.tsd-kind-method > .tsd-kind-icon:before { + background-position: -136px -68px; +} +.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -68px; +} +.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -68px; +} +.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -68px; +} +.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -68px; +} +.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -68px; +} +.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -68px; +} +.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -68px; +} +.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -68px; +} +.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -68px; +} + +.tsd-kind-call-signature > .tsd-kind-icon:before { + background-position: -136px -68px; +} +.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -68px; +} +.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -68px; +} + +.tsd-kind-function.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: -136px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -153px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class + > .tsd-kind-icon:before { + background-position: -51px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum + > .tsd-kind-icon:before { + background-position: -170px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface + > .tsd-kind-icon:before { + background-position: -204px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -85px; +} + +.tsd-kind-method.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: -136px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -153px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class + > .tsd-kind-icon:before { + background-position: -51px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum + > .tsd-kind-icon:before { + background-position: -170px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface + > .tsd-kind-icon:before { + background-position: -204px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -85px; +} + +.tsd-kind-constructor > .tsd-kind-icon:before { + background-position: -136px -102px; +} +.tsd-kind-constructor.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -102px; +} +.tsd-kind-constructor.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -102px; +} + +.tsd-kind-constructor-signature > .tsd-kind-icon:before { + background-position: -136px -102px; +} +.tsd-kind-constructor-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -102px; +} +.tsd-kind-constructor-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-interface + > .tsd-kind-icon:before { + background-position: -204px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -102px; +} + +.tsd-kind-index-signature > .tsd-kind-icon:before { + background-position: -136px -119px; +} +.tsd-kind-index-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -119px; +} +.tsd-kind-index-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -119px; +} + +.tsd-kind-event > .tsd-kind-icon:before { + background-position: -136px -136px; +} +.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -136px; +} +.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -136px; +} +.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -136px; +} +.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -136px; +} +.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -136px; +} +.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -136px; +} +.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -136px; +} +.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -136px; +} +.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -136px; +} +.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -136px; +} +.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -136px; +} +.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -136px; +} + +.tsd-is-static > .tsd-kind-icon:before { + background-position: -136px -153px; +} +.tsd-is-static.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -153px; +} +.tsd-is-static.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -153px; +} +.tsd-is-static.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -153px; +} +.tsd-is-static.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -153px; +} +.tsd-is-static.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -153px; +} +.tsd-is-static.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -153px; +} +.tsd-is-static.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -153px; +} +.tsd-is-static.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -153px; +} +.tsd-is-static.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -153px; +} +.tsd-is-static.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -153px; +} +.tsd-is-static.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -153px; +} +.tsd-is-static.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -153px; +} + +.tsd-is-static.tsd-kind-function > .tsd-kind-icon:before { + background-position: -136px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface + > .tsd-kind-icon:before { + background-position: -204px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -170px; +} + +.tsd-is-static.tsd-kind-method > .tsd-kind-icon:before { + background-position: -136px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface + > .tsd-kind-icon:before { + background-position: -204px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -170px; +} + +.tsd-is-static.tsd-kind-call-signature > .tsd-kind-icon:before { + background-position: -136px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -153px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class + > .tsd-kind-icon:before { + background-position: -51px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum + > .tsd-kind-icon:before { + background-position: -170px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface + > .tsd-kind-icon:before { + background-position: -204px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -170px; +} + +.tsd-is-static.tsd-kind-event > .tsd-kind-icon:before { + background-position: -136px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -68px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -85px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -102px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected + > .tsd-kind-icon:before { + background-position: -187px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private + > .tsd-kind-icon:before { + background-position: -119px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface + > .tsd-kind-icon:before { + background-position: -204px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited + > .tsd-kind-icon:before { + background-position: -221px -187px; +} diff --git a/docs/api/js/assets/icons.png b/docs/api/js/assets/icons.png new file mode 100644 index 0000000000..3836d5fe46 Binary files /dev/null and b/docs/api/js/assets/icons.png differ diff --git a/docs/api/js/assets/icons@2x.png b/docs/api/js/assets/icons@2x.png new file mode 100644 index 0000000000..5a209e2f6d Binary files /dev/null and b/docs/api/js/assets/icons@2x.png differ diff --git a/docs/api/js/assets/main.js b/docs/api/js/assets/main.js new file mode 100644 index 0000000000..21898f46c6 --- /dev/null +++ b/docs/api/js/assets/main.js @@ -0,0 +1,52 @@ +(()=>{var Ce=Object.create;var J=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,_e=Object.prototype.hasOwnProperty;var Me=t=>J(t,"__esModule",{value:!0});var $e=typeof require!="undefined"?require:t=>{throw new Error('Dynamic require of "'+t+'" is not supported')};var Fe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var De=(t,e,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Oe(e))!_e.call(t,n)&&n!=="default"&&J(t,n,{get:()=>e[n],enumerable:!(r=Pe(e,n))||r.enumerable});return t},Ae=t=>De(Me(J(t!=null?Ce(Re(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var de=Fe((ue,he)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var h=t.utils.clone(r)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(n.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(oc?h+=2:a==c&&(r+=n[l+1]*i[h+1],l+=2,h+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new t.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),i.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),f=s.str.charAt(1),v;f in s.node.edges?v=s.node.edges[f]:(v=new t.TokenSet,s.node.edges[f]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),c=0;c1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof ue=="object"?he.exports=r():e.lunr=r()}(this,function(){return t})})()});var le=[];function N(t,e){le.push({selector:e,constructor:t})}var X=class{constructor(){this.createComponents(document.body)}createComponents(e){le.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n}),n.dataset.hasInstance=String(!0))})})}};var Q=class{constructor(e){this.el=e.el}};var Z=class{constructor(){this.listeners={}}addEventListener(e,r){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(r)}removeEventListener(e,r){if(!(e in this.listeners))return;let n=this.listeners[e];for(let i=0,s=n.length;i{let r=Date.now();return(...n)=>{r+e-Date.now()<0&&(t(...n),r=Date.now())}};var ee=class extends Z{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.secondaryNav=document.querySelector(".tsd-navigation.secondary"),window.addEventListener("scroll",K(()=>this.onScroll(),10)),window.addEventListener("resize",K(()=>this.onResize(),10)),this.onResize(),this.onScroll()}triggerResize(){let e=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(e)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let e=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(e)}onScroll(){this.scrollTop=window.scrollY||0;let e=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(e),this.hideShowToolbar()}hideShowToolbar(){let e=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0,e!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.secondaryNav.classList.toggle("tsd-navigation--toolbar-hide")),this.lastY=this.scrollTop}},I=ee;I.instance=new ee;var te=class extends Q{constructor(e){super(e);this.anchors=[];this.index=-1;I.instance.addEventListener("resize",()=>this.onResize()),I.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let e=window.location.href;e.indexOf("#")!=-1&&(e=e.substr(0,e.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let n=r.href;if(n.indexOf("#")==-1||n.substr(0,e.length)!=e)return;let i=n.substr(n.indexOf("#")+1),s=document.querySelector("a.tsd-anchor[name="+i+"]"),o=r.parentNode;!s||!o||this.anchors.push({link:o,anchor:s,position:0})}),this.onResize()}onResize(){let e;for(let n=0,i=this.anchors.length;nn.position-i.position);let r=new CustomEvent("scroll",{detail:{scrollTop:I.instance.scrollTop}});this.onScroll(r)}onScroll(e){let r=e.detail.scrollTop+5,n=this.anchors,i=n.length-1,s=this.index;for(;s>-1&&n[s].position>r;)s-=1;for(;s-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=s,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ce=(t,e=100)=>{let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>t(n),e)}};var pe=Ae(de());function fe(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Ve(t,n,r,s)}function Ve(t,e,r,n){r.addEventListener("input",ce(()=>{ze(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ne(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?me(e,-1):s.key==="ArrowDown"?me(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function He(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=pe.Index.load(window.searchData.index))}function ze(t,e,r,n){if(He(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=n.index.search(`*${i}*`);for(let o=0,a=Math.min(10,s.length);o${ve(c.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=c.classes;let f=document.createElement("a");f.href=n.base+c.url,f.classList.add("tsd-kind-icon"),f.innerHTML=l,h.append(f),e.appendChild(h)}}function me(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Ne(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function ve(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(re(t.substring(s,o)),`${re(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(re(t.substring(s))),i.join("")}var je={"&":"&","<":"<",">":">","'":"'",'"':"""};function re(t){return t.replace(/[&<>"'"]/g,e=>je[e])}var ge=class{constructor(e,r){this.signature=e,this.description=r}addClass(e){return this.signature.classList.add(e),this.description.classList.add(e),this}removeClass(e){return this.signature.classList.remove(e),this.description.classList.remove(e),this}},ne=class extends Q{constructor(e){super(e);this.groups=[];this.index=-1;this.createGroups(),this.container&&(this.el.classList.add("active"),Array.from(this.el.children).forEach(r=>{r.addEventListener("touchstart",n=>this.onClick(n)),r.addEventListener("click",n=>this.onClick(n))}),this.container.classList.add("active"),this.setIndex(0))}setIndex(e){if(e<0&&(e=0),e>this.groups.length-1&&(e=this.groups.length-1),this.index==e)return;let r=this.groups[e];if(this.index>-1){let n=this.groups[this.index];n.removeClass("current").addClass("fade-out"),r.addClass("current"),r.addClass("fade-in"),I.instance.triggerResize(),setTimeout(()=>{n.removeClass("fade-out"),r.removeClass("fade-in")},300)}else r.addClass("current"),I.instance.triggerResize();this.index=e}createGroups(){let e=this.el.children;if(e.length<2)return;this.container=this.el.nextElementSibling;let r=this.container.children;this.groups=[];for(let n=0;n{r.signature===e.currentTarget&&this.setIndex(n)})}};var C="mousedown",ye="mousemove",_="mouseup",G={x:0,y:0},xe=!1,ie=!1,Be=!1,A=!1,Le=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(Le?"is-mobile":"not-mobile");Le&&"ontouchstart"in document.documentElement&&(Be=!0,C="touchstart",ye="touchmove",_="touchend");document.addEventListener(C,t=>{ie=!0,A=!1;let e=C=="touchstart"?t.targetTouches[0]:t;G.y=e.pageY||0,G.x=e.pageX||0});document.addEventListener(ye,t=>{if(!!ie&&!A){let e=C=="touchstart"?t.targetTouches[0]:t,r=G.x-(e.pageX||0),n=G.y-(e.pageY||0);A=Math.sqrt(r*r+n*n)>10}});document.addEventListener(_,()=>{ie=!1});document.addEventListener("click",t=>{xe&&(t.preventDefault(),t.stopImmediatePropagation(),xe=!1)});var se=class extends Q{constructor(e){super(e);this.className=this.el.dataset.toggle||"",this.el.addEventListener(_,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(C,r=>this.onDocumentPointerDown(r)),document.addEventListener(_,r=>this.onDocumentPointerUp(r))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(e){A||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!A&&this.active&&e.target.closest(".col-menu")){let r=e.target.closest("a");if(r){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substr(0,n.indexOf("#"))),r.href.substr(0,n.length)==n&&setTimeout(()=>this.setActive(!1),250)}}}};var oe=class{constructor(e,r){this.key=e,this.value=r,this.defaultValue=r,this.initialize(),window.localStorage[this.key]&&this.setValue(this.fromLocalStorage(window.localStorage[this.key]))}initialize(){}setValue(e){if(this.value==e)return;let r=this.value;this.value=e,window.localStorage[this.key]=this.toLocalStorage(e),this.handleValueChange(r,e)}},ae=class extends oe{initialize(){let e=document.querySelector("#tsd-filter-"+this.key);!e||(this.checkbox=e,this.checkbox.addEventListener("change",()=>{this.setValue(this.checkbox.checked)}))}handleValueChange(e,r){!this.checkbox||(this.checkbox.checked=this.value,document.documentElement.classList.toggle("toggle-"+this.key,this.value!=this.defaultValue))}fromLocalStorage(e){return e=="true"}toLocalStorage(e){return e?"true":"false"}},Ee=class extends oe{initialize(){document.documentElement.classList.add("toggle-"+this.key+this.value);let e=document.querySelector("#tsd-filter-"+this.key);if(!e)return;this.select=e;let r=()=>{this.select.classList.add("active")},n=()=>{this.select.classList.remove("active")};this.select.addEventListener(C,r),this.select.addEventListener("mouseover",r),this.select.addEventListener("mouseleave",n),this.select.querySelectorAll("li").forEach(i=>{i.addEventListener(_,s=>{e.classList.remove("active"),this.setValue(s.target.dataset.value||"")})}),document.addEventListener(C,i=>{this.select.contains(i.target)||this.select.classList.remove("active")})}handleValueChange(e,r){this.select.querySelectorAll("li.selected").forEach(s=>{s.classList.remove("selected")});let n=this.select.querySelector('li[data-value="'+r+'"]'),i=this.select.querySelector(".tsd-select-label");n&&i&&(n.classList.add("selected"),i.textContent=n.textContent),document.documentElement.classList.remove("toggle-"+e),document.documentElement.classList.add("toggle-"+r)}fromLocalStorage(e){return e}toLocalStorage(e){return e}},Y=class extends Q{constructor(e){super(e);this.optionVisibility=new Ee("visibility","private"),this.optionInherited=new ae("inherited",!0),this.optionExternals=new ae("externals",!0)}static isSupported(){try{return typeof window.localStorage!="undefined"}catch(e){return!1}}};function be(t){let e=localStorage.getItem("tsd-theme")||"os";t.value=e,we(e),t.addEventListener("change",()=>{localStorage.setItem("tsd-theme",t.value),we(t.value)})}function we(t){switch(t){case"os":document.body.classList.remove("light","dark");break;case"light":document.body.classList.remove("dark"),document.body.classList.add("light");break;case"dark":document.body.classList.remove("light"),document.body.classList.add("dark");break}}fe();N(te,".menu-highlight");N(ne,".tsd-signatures");N(se,"a[data-toggle]");Y.isSupported()?N(Y,"#tsd-filter"):document.documentElement.classList.add("no-filter");var Te=document.getElementById("theme");Te&&be(Te);var qe=new X;Object.defineProperty(window,"app",{value:qe});})(); +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ diff --git a/docs/api/js/assets/search.js b/docs/api/js/assets/search.js new file mode 100644 index 0000000000..d3e2b14af2 --- /dev/null +++ b/docs/api/js/assets/search.js @@ -0,0 +1 @@ +window.searchData = {"kinds":{"4":"Namespace","32":"Variable","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":256,"name":"Env","url":"interfaces/Env.html","classes":"tsd-kind-interface"},{"id":1,"kind":1024,"name":"logLevel","url":"interfaces/Env.html#logLevel","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env"},{"id":2,"kind":1024,"name":"debug","url":"interfaces/Env.html#debug","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env"},{"id":3,"kind":1024,"name":"wasm","url":"interfaces/Env.html#wasm","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env"},{"id":4,"kind":1024,"name":"webgl","url":"interfaces/Env.html#webgl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env"},{"id":5,"kind":4,"name":"Env","url":"modules/Env.html","classes":"tsd-kind-namespace"},{"id":6,"kind":4194304,"name":"WasmPrefixOrFilePaths","url":"modules/Env.html#WasmPrefixOrFilePaths","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"Env"},{"id":7,"kind":256,"name":"WebAssemblyFlags","url":"interfaces/Env.WebAssemblyFlags.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"Env"},{"id":8,"kind":1024,"name":"numThreads","url":"interfaces/Env.WebAssemblyFlags.html#numThreads","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebAssemblyFlags"},{"id":9,"kind":1024,"name":"simd","url":"interfaces/Env.WebAssemblyFlags.html#simd","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebAssemblyFlags"},{"id":10,"kind":1024,"name":"initTimeout","url":"interfaces/Env.WebAssemblyFlags.html#initTimeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebAssemblyFlags"},{"id":11,"kind":1024,"name":"wasmPaths","url":"interfaces/Env.WebAssemblyFlags.html#wasmPaths","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebAssemblyFlags"},{"id":12,"kind":1024,"name":"proxy","url":"interfaces/Env.WebAssemblyFlags.html#proxy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebAssemblyFlags"},{"id":13,"kind":256,"name":"WebGLFlags","url":"interfaces/Env.WebGLFlags.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"Env"},{"id":14,"kind":1024,"name":"contextId","url":"interfaces/Env.WebGLFlags.html#contextId","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebGLFlags"},{"id":15,"kind":1024,"name":"matmulMaxBatchSize","url":"interfaces/Env.WebGLFlags.html#matmulMaxBatchSize","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebGLFlags"},{"id":16,"kind":1024,"name":"textureCacheMode","url":"interfaces/Env.WebGLFlags.html#textureCacheMode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebGLFlags"},{"id":17,"kind":1024,"name":"pack","url":"interfaces/Env.WebGLFlags.html#pack","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebGLFlags"},{"id":18,"kind":1024,"name":"async","url":"interfaces/Env.WebGLFlags.html#async","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Env.WebGLFlags"},{"id":19,"kind":32,"name":"env","url":"index.html#env","classes":"tsd-kind-variable"},{"id":20,"kind":32,"name":"InferenceSession","url":"index.html#InferenceSession","classes":"tsd-kind-variable"},{"id":21,"kind":256,"name":"InferenceSession","url":"interfaces/InferenceSession.html","classes":"tsd-kind-interface"},{"id":22,"kind":2048,"name":"run","url":"interfaces/InferenceSession.html#run","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"InferenceSession"},{"id":23,"kind":2048,"name":"startProfiling","url":"interfaces/InferenceSession.html#startProfiling","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"InferenceSession"},{"id":24,"kind":2048,"name":"endProfiling","url":"interfaces/InferenceSession.html#endProfiling","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"InferenceSession"},{"id":25,"kind":1024,"name":"inputNames","url":"interfaces/InferenceSession.html#inputNames","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession"},{"id":26,"kind":1024,"name":"outputNames","url":"interfaces/InferenceSession.html#outputNames","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession"},{"id":27,"kind":4,"name":"InferenceSession","url":"modules/InferenceSession.html","classes":"tsd-kind-namespace"},{"id":28,"kind":4194304,"name":"OnnxValueMapType","url":"modules/InferenceSession.html#OnnxValueMapType","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":29,"kind":65536,"name":"__type","url":"modules/InferenceSession.html#OnnxValueMapType.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"InferenceSession.OnnxValueMapType"},{"id":30,"kind":4194304,"name":"NullableOnnxValueMapType","url":"modules/InferenceSession.html#NullableOnnxValueMapType","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":31,"kind":65536,"name":"__type","url":"modules/InferenceSession.html#NullableOnnxValueMapType.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"InferenceSession.NullableOnnxValueMapType"},{"id":32,"kind":4194304,"name":"FeedsType","url":"modules/InferenceSession.html#FeedsType","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":33,"kind":4194304,"name":"FetchesType","url":"modules/InferenceSession.html#FetchesType","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":34,"kind":4194304,"name":"ReturnType","url":"modules/InferenceSession.html#ReturnType","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":35,"kind":256,"name":"SessionOptions","url":"interfaces/InferenceSession.SessionOptions.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":36,"kind":1024,"name":"executionProviders","url":"interfaces/InferenceSession.SessionOptions.html#executionProviders","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":37,"kind":1024,"name":"intraOpNumThreads","url":"interfaces/InferenceSession.SessionOptions.html#intraOpNumThreads","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":38,"kind":1024,"name":"interOpNumThreads","url":"interfaces/InferenceSession.SessionOptions.html#interOpNumThreads","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":39,"kind":1024,"name":"graphOptimizationLevel","url":"interfaces/InferenceSession.SessionOptions.html#graphOptimizationLevel","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":40,"kind":1024,"name":"enableCpuMemArena","url":"interfaces/InferenceSession.SessionOptions.html#enableCpuMemArena","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":41,"kind":1024,"name":"enableMemPattern","url":"interfaces/InferenceSession.SessionOptions.html#enableMemPattern","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":42,"kind":1024,"name":"executionMode","url":"interfaces/InferenceSession.SessionOptions.html#executionMode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":43,"kind":1024,"name":"enableProfiling","url":"interfaces/InferenceSession.SessionOptions.html#enableProfiling","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":44,"kind":1024,"name":"profileFilePrefix","url":"interfaces/InferenceSession.SessionOptions.html#profileFilePrefix","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":45,"kind":1024,"name":"logId","url":"interfaces/InferenceSession.SessionOptions.html#logId","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":46,"kind":1024,"name":"logSeverityLevel","url":"interfaces/InferenceSession.SessionOptions.html#logSeverityLevel","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":47,"kind":1024,"name":"logVerbosityLevel","url":"interfaces/InferenceSession.SessionOptions.html#logVerbosityLevel","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":48,"kind":1024,"name":"extra","url":"interfaces/InferenceSession.SessionOptions.html#extra","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.SessionOptions"},{"id":49,"kind":256,"name":"ExecutionProviderOptionMap","url":"interfaces/InferenceSession.ExecutionProviderOptionMap.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":50,"kind":1024,"name":"cpu","url":"interfaces/InferenceSession.ExecutionProviderOptionMap.html#cpu","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.ExecutionProviderOptionMap"},{"id":51,"kind":1024,"name":"cuda","url":"interfaces/InferenceSession.ExecutionProviderOptionMap.html#cuda","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.ExecutionProviderOptionMap"},{"id":52,"kind":1024,"name":"wasm","url":"interfaces/InferenceSession.ExecutionProviderOptionMap.html#wasm","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.ExecutionProviderOptionMap"},{"id":53,"kind":1024,"name":"webgl","url":"interfaces/InferenceSession.ExecutionProviderOptionMap.html#webgl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.ExecutionProviderOptionMap"},{"id":54,"kind":4194304,"name":"ExecutionProviderName","url":"modules/InferenceSession.html#ExecutionProviderName","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":55,"kind":4194304,"name":"ExecutionProviderConfig","url":"modules/InferenceSession.html#ExecutionProviderConfig","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":56,"kind":256,"name":"ExecutionProviderOption","url":"interfaces/InferenceSession.ExecutionProviderOption.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":57,"kind":1024,"name":"name","url":"interfaces/InferenceSession.ExecutionProviderOption.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.ExecutionProviderOption"},{"id":58,"kind":256,"name":"CpuExecutionProviderOption","url":"interfaces/InferenceSession.CpuExecutionProviderOption.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":59,"kind":1024,"name":"name","url":"interfaces/InferenceSession.CpuExecutionProviderOption.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite","parent":"InferenceSession.CpuExecutionProviderOption"},{"id":60,"kind":1024,"name":"useArena","url":"interfaces/InferenceSession.CpuExecutionProviderOption.html#useArena","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.CpuExecutionProviderOption"},{"id":61,"kind":256,"name":"CudaExecutionProviderOption","url":"interfaces/InferenceSession.CudaExecutionProviderOption.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":62,"kind":1024,"name":"name","url":"interfaces/InferenceSession.CudaExecutionProviderOption.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite","parent":"InferenceSession.CudaExecutionProviderOption"},{"id":63,"kind":1024,"name":"deviceId","url":"interfaces/InferenceSession.CudaExecutionProviderOption.html#deviceId","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.CudaExecutionProviderOption"},{"id":64,"kind":256,"name":"WebAssemblyExecutionProviderOption","url":"interfaces/InferenceSession.WebAssemblyExecutionProviderOption.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":65,"kind":1024,"name":"name","url":"interfaces/InferenceSession.WebAssemblyExecutionProviderOption.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite","parent":"InferenceSession.WebAssemblyExecutionProviderOption"},{"id":66,"kind":256,"name":"WebGLExecutionProviderOption","url":"interfaces/InferenceSession.WebGLExecutionProviderOption.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":67,"kind":1024,"name":"name","url":"interfaces/InferenceSession.WebGLExecutionProviderOption.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite","parent":"InferenceSession.WebGLExecutionProviderOption"},{"id":68,"kind":256,"name":"RunOptions","url":"interfaces/InferenceSession.RunOptions.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":69,"kind":1024,"name":"logSeverityLevel","url":"interfaces/InferenceSession.RunOptions.html#logSeverityLevel","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.RunOptions"},{"id":70,"kind":1024,"name":"logVerbosityLevel","url":"interfaces/InferenceSession.RunOptions.html#logVerbosityLevel","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.RunOptions"},{"id":71,"kind":1024,"name":"terminate","url":"interfaces/InferenceSession.RunOptions.html#terminate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.RunOptions"},{"id":72,"kind":1024,"name":"tag","url":"interfaces/InferenceSession.RunOptions.html#tag","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.RunOptions"},{"id":73,"kind":1024,"name":"extra","url":"interfaces/InferenceSession.RunOptions.html#extra","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"InferenceSession.RunOptions"},{"id":74,"kind":256,"name":"ValueMetadata","url":"interfaces/InferenceSession.ValueMetadata.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"InferenceSession"},{"id":75,"kind":256,"name":"InferenceSessionFactory","url":"interfaces/InferenceSessionFactory.html","classes":"tsd-kind-interface"},{"id":76,"kind":2048,"name":"create","url":"interfaces/InferenceSessionFactory.html#create","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"InferenceSessionFactory"},{"id":77,"kind":32,"name":"Tensor","url":"index.html#Tensor","classes":"tsd-kind-variable"},{"id":78,"kind":256,"name":"Tensor","url":"interfaces/Tensor.html","classes":"tsd-kind-interface"},{"id":79,"kind":1024,"name":"dims","url":"interfaces/Tensor.html#dims","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Tensor"},{"id":80,"kind":1024,"name":"type","url":"interfaces/Tensor.html#type","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Tensor"},{"id":81,"kind":1024,"name":"data","url":"interfaces/Tensor.html#data","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Tensor"},{"id":82,"kind":1024,"name":"size","url":"interfaces/Tensor.html#size","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Tensor"},{"id":83,"kind":2048,"name":"reshape","url":"interfaces/Tensor.html#reshape","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"Tensor"},{"id":84,"kind":4,"name":"Tensor","url":"modules/Tensor.html","classes":"tsd-kind-namespace"},{"id":85,"kind":256,"name":"DataTypeMap","url":"interfaces/Tensor.DataTypeMap.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"Tensor"},{"id":86,"kind":1024,"name":"float32","url":"interfaces/Tensor.DataTypeMap.html#float32","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":87,"kind":1024,"name":"uint8","url":"interfaces/Tensor.DataTypeMap.html#uint8","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":88,"kind":1024,"name":"int8","url":"interfaces/Tensor.DataTypeMap.html#int8","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":89,"kind":1024,"name":"uint16","url":"interfaces/Tensor.DataTypeMap.html#uint16","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":90,"kind":1024,"name":"int16","url":"interfaces/Tensor.DataTypeMap.html#int16","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":91,"kind":1024,"name":"int32","url":"interfaces/Tensor.DataTypeMap.html#int32","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":92,"kind":1024,"name":"int64","url":"interfaces/Tensor.DataTypeMap.html#int64","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":93,"kind":1024,"name":"string","url":"interfaces/Tensor.DataTypeMap.html#string","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":94,"kind":1024,"name":"bool","url":"interfaces/Tensor.DataTypeMap.html#bool","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":95,"kind":1024,"name":"float16","url":"interfaces/Tensor.DataTypeMap.html#float16","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":96,"kind":1024,"name":"float64","url":"interfaces/Tensor.DataTypeMap.html#float64","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":97,"kind":1024,"name":"uint32","url":"interfaces/Tensor.DataTypeMap.html#uint32","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":98,"kind":1024,"name":"uint64","url":"interfaces/Tensor.DataTypeMap.html#uint64","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.DataTypeMap"},{"id":99,"kind":256,"name":"ElementTypeMap","url":"interfaces/Tensor.ElementTypeMap.html","classes":"tsd-kind-interface tsd-parent-kind-namespace","parent":"Tensor"},{"id":100,"kind":1024,"name":"float32","url":"interfaces/Tensor.ElementTypeMap.html#float32","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":101,"kind":1024,"name":"uint8","url":"interfaces/Tensor.ElementTypeMap.html#uint8","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":102,"kind":1024,"name":"int8","url":"interfaces/Tensor.ElementTypeMap.html#int8","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":103,"kind":1024,"name":"uint16","url":"interfaces/Tensor.ElementTypeMap.html#uint16","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":104,"kind":1024,"name":"int16","url":"interfaces/Tensor.ElementTypeMap.html#int16","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":105,"kind":1024,"name":"int32","url":"interfaces/Tensor.ElementTypeMap.html#int32","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":106,"kind":1024,"name":"int64","url":"interfaces/Tensor.ElementTypeMap.html#int64","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":107,"kind":1024,"name":"string","url":"interfaces/Tensor.ElementTypeMap.html#string","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":108,"kind":1024,"name":"bool","url":"interfaces/Tensor.ElementTypeMap.html#bool","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":109,"kind":1024,"name":"float16","url":"interfaces/Tensor.ElementTypeMap.html#float16","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":110,"kind":1024,"name":"float64","url":"interfaces/Tensor.ElementTypeMap.html#float64","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":111,"kind":1024,"name":"uint32","url":"interfaces/Tensor.ElementTypeMap.html#uint32","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":112,"kind":1024,"name":"uint64","url":"interfaces/Tensor.ElementTypeMap.html#uint64","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Tensor.ElementTypeMap"},{"id":113,"kind":4194304,"name":"DataType","url":"modules/Tensor.html#DataType","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"Tensor"},{"id":114,"kind":4194304,"name":"ElementType","url":"modules/Tensor.html#ElementType","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"Tensor"},{"id":115,"kind":4194304,"name":"Type","url":"modules/Tensor.html#Type","classes":"tsd-kind-type-alias tsd-parent-kind-namespace","parent":"Tensor"},{"id":116,"kind":256,"name":"TypedTensor","url":"interfaces/TypedTensor.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":117,"kind":1024,"name":"dims","url":"interfaces/TypedTensor.html#dims","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"TypedTensor"},{"id":118,"kind":1024,"name":"type","url":"interfaces/TypedTensor.html#type","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"TypedTensor"},{"id":119,"kind":1024,"name":"data","url":"interfaces/TypedTensor.html#data","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"TypedTensor"},{"id":120,"kind":1024,"name":"size","url":"interfaces/TypedTensor.html#size","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"TypedTensor"},{"id":121,"kind":2048,"name":"reshape","url":"interfaces/TypedTensor.html#reshape","classes":"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited","parent":"TypedTensor"},{"id":122,"kind":256,"name":"TensorConstructor","url":"interfaces/TensorConstructor.html","classes":"tsd-kind-interface"},{"id":123,"kind":512,"name":"constructor","url":"interfaces/TensorConstructor.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-interface tsd-has-type-parameter","parent":"TensorConstructor"},{"id":124,"kind":4194304,"name":"OnnxValue","url":"index.html#OnnxValue","classes":"tsd-kind-type-alias"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,24.849]],["parent/0",[]],["name/1",[1,44.308]],["parent/1",[0,2.372]],["name/2",[2,44.308]],["parent/2",[0,2.372]],["name/3",[3,39.2]],["parent/3",[0,2.372]],["name/4",[4,39.2]],["parent/4",[0,2.372]],["name/5",[0,24.849]],["parent/5",[]],["name/6",[5,44.308]],["parent/6",[0,2.372]],["name/7",[6,44.308]],["parent/7",[0,2.372]],["name/8",[7,44.308]],["parent/8",[8,2.99]],["name/9",[9,44.308]],["parent/9",[8,2.99]],["name/10",[10,44.308]],["parent/10",[8,2.99]],["name/11",[11,44.308]],["parent/11",[8,2.99]],["name/12",[12,44.308]],["parent/12",[8,2.99]],["name/13",[13,44.308]],["parent/13",[0,2.372]],["name/14",[14,44.308]],["parent/14",[15,2.99]],["name/15",[16,44.308]],["parent/15",[15,2.99]],["name/16",[17,44.308]],["parent/16",[15,2.99]],["name/17",[18,44.308]],["parent/17",[15,2.99]],["name/18",[19,44.308]],["parent/18",[15,2.99]],["name/19",[0,24.849]],["parent/19",[]],["name/20",[20,16.376]],["parent/20",[]],["name/21",[20,16.376]],["parent/21",[]],["name/22",[21,44.308]],["parent/22",[20,1.563]],["name/23",[22,44.308]],["parent/23",[20,1.563]],["name/24",[23,44.308]],["parent/24",[20,1.563]],["name/25",[24,44.308]],["parent/25",[20,1.563]],["name/26",[25,44.308]],["parent/26",[20,1.563]],["name/27",[20,16.376]],["parent/27",[]],["name/28",[26,44.308]],["parent/28",[20,1.563]],["name/29",[27,39.2]],["parent/29",[28,4.23]],["name/30",[29,44.308]],["parent/30",[20,1.563]],["name/31",[27,39.2]],["parent/31",[30,4.23]],["name/32",[31,44.308]],["parent/32",[20,1.563]],["name/33",[32,44.308]],["parent/33",[20,1.563]],["name/34",[33,44.308]],["parent/34",[20,1.563]],["name/35",[34,44.308]],["parent/35",[20,1.563]],["name/36",[35,44.308]],["parent/36",[36,2.132]],["name/37",[37,44.308]],["parent/37",[36,2.132]],["name/38",[38,44.308]],["parent/38",[36,2.132]],["name/39",[39,44.308]],["parent/39",[36,2.132]],["name/40",[40,44.308]],["parent/40",[36,2.132]],["name/41",[41,44.308]],["parent/41",[36,2.132]],["name/42",[42,44.308]],["parent/42",[36,2.132]],["name/43",[43,44.308]],["parent/43",[36,2.132]],["name/44",[44,44.308]],["parent/44",[36,2.132]],["name/45",[45,44.308]],["parent/45",[36,2.132]],["name/46",[46,39.2]],["parent/46",[36,2.132]],["name/47",[47,39.2]],["parent/47",[36,2.132]],["name/48",[48,39.2]],["parent/48",[36,2.132]],["name/49",[49,44.308]],["parent/49",[20,1.563]],["name/50",[50,44.308]],["parent/50",[51,3.181]],["name/51",[52,44.308]],["parent/51",[51,3.181]],["name/52",[3,39.2]],["parent/52",[51,3.181]],["name/53",[4,39.2]],["parent/53",[51,3.181]],["name/54",[53,44.308]],["parent/54",[20,1.563]],["name/55",[54,44.308]],["parent/55",[20,1.563]],["name/56",[55,44.308]],["parent/56",[20,1.563]],["name/57",[56,31.315]],["parent/57",[57,4.23]],["name/58",[58,44.308]],["parent/58",[20,1.563]],["name/59",[56,31.315]],["parent/59",[59,3.742]],["name/60",[60,44.308]],["parent/60",[59,3.742]],["name/61",[61,44.308]],["parent/61",[20,1.563]],["name/62",[56,31.315]],["parent/62",[62,3.742]],["name/63",[63,44.308]],["parent/63",[62,3.742]],["name/64",[64,44.308]],["parent/64",[20,1.563]],["name/65",[56,31.315]],["parent/65",[65,4.23]],["name/66",[66,44.308]],["parent/66",[20,1.563]],["name/67",[56,31.315]],["parent/67",[67,4.23]],["name/68",[68,44.308]],["parent/68",[20,1.563]],["name/69",[46,39.2]],["parent/69",[69,2.99]],["name/70",[47,39.2]],["parent/70",[69,2.99]],["name/71",[70,44.308]],["parent/71",[69,2.99]],["name/72",[71,44.308]],["parent/72",[69,2.99]],["name/73",[48,39.2]],["parent/73",[69,2.99]],["name/74",[72,44.308]],["parent/74",[20,1.563]],["name/75",[73,39.2]],["parent/75",[]],["name/76",[74,44.308]],["parent/76",[73,3.742]],["name/77",[75,22.336]],["parent/77",[]],["name/78",[75,22.336]],["parent/78",[]],["name/79",[76,39.2]],["parent/79",[75,2.132]],["name/80",[77,35.835]],["parent/80",[75,2.132]],["name/81",[78,39.2]],["parent/81",[75,2.132]],["name/82",[79,39.2]],["parent/82",[75,2.132]],["name/83",[80,39.2]],["parent/83",[75,2.132]],["name/84",[75,22.336]],["parent/84",[]],["name/85",[81,44.308]],["parent/85",[75,2.132]],["name/86",[82,39.2]],["parent/86",[83,2.132]],["name/87",[84,39.2]],["parent/87",[83,2.132]],["name/88",[85,39.2]],["parent/88",[83,2.132]],["name/89",[86,39.2]],["parent/89",[83,2.132]],["name/90",[87,39.2]],["parent/90",[83,2.132]],["name/91",[88,39.2]],["parent/91",[83,2.132]],["name/92",[89,39.2]],["parent/92",[83,2.132]],["name/93",[90,39.2]],["parent/93",[83,2.132]],["name/94",[91,39.2]],["parent/94",[83,2.132]],["name/95",[92,39.2]],["parent/95",[83,2.132]],["name/96",[93,39.2]],["parent/96",[83,2.132]],["name/97",[94,39.2]],["parent/97",[83,2.132]],["name/98",[95,39.2]],["parent/98",[83,2.132]],["name/99",[96,44.308]],["parent/99",[75,2.132]],["name/100",[82,39.2]],["parent/100",[97,2.132]],["name/101",[84,39.2]],["parent/101",[97,2.132]],["name/102",[85,39.2]],["parent/102",[97,2.132]],["name/103",[86,39.2]],["parent/103",[97,2.132]],["name/104",[87,39.2]],["parent/104",[97,2.132]],["name/105",[88,39.2]],["parent/105",[97,2.132]],["name/106",[89,39.2]],["parent/106",[97,2.132]],["name/107",[90,39.2]],["parent/107",[97,2.132]],["name/108",[91,39.2]],["parent/108",[97,2.132]],["name/109",[92,39.2]],["parent/109",[97,2.132]],["name/110",[93,39.2]],["parent/110",[97,2.132]],["name/111",[94,39.2]],["parent/111",[97,2.132]],["name/112",[95,39.2]],["parent/112",[97,2.132]],["name/113",[98,44.308]],["parent/113",[75,2.132]],["name/114",[99,44.308]],["parent/114",[75,2.132]],["name/115",[77,35.835]],["parent/115",[75,2.132]],["name/116",[100,29.645]],["parent/116",[]],["name/117",[76,39.2]],["parent/117",[100,2.83]],["name/118",[77,35.835]],["parent/118",[100,2.83]],["name/119",[78,39.2]],["parent/119",[100,2.83]],["name/120",[79,39.2]],["parent/120",[100,2.83]],["name/121",[80,39.2]],["parent/121",[100,2.83]],["name/122",[101,39.2]],["parent/122",[]],["name/123",[102,44.308]],["parent/123",[101,3.742]],["name/124",[103,44.308]],["parent/124",[]]],"invertedIndex":[["__type",{"_index":27,"name":{"29":{},"31":{}},"parent":{}}],["async",{"_index":19,"name":{"18":{}},"parent":{}}],["bool",{"_index":91,"name":{"94":{},"108":{}},"parent":{}}],["constructor",{"_index":102,"name":{"123":{}},"parent":{}}],["contextid",{"_index":14,"name":{"14":{}},"parent":{}}],["cpu",{"_index":50,"name":{"50":{}},"parent":{}}],["cpuexecutionprovideroption",{"_index":58,"name":{"58":{}},"parent":{}}],["create",{"_index":74,"name":{"76":{}},"parent":{}}],["cuda",{"_index":52,"name":{"51":{}},"parent":{}}],["cudaexecutionprovideroption",{"_index":61,"name":{"61":{}},"parent":{}}],["data",{"_index":78,"name":{"81":{},"119":{}},"parent":{}}],["datatype",{"_index":98,"name":{"113":{}},"parent":{}}],["datatypemap",{"_index":81,"name":{"85":{}},"parent":{}}],["debug",{"_index":2,"name":{"2":{}},"parent":{}}],["deviceid",{"_index":63,"name":{"63":{}},"parent":{}}],["dims",{"_index":76,"name":{"79":{},"117":{}},"parent":{}}],["elementtype",{"_index":99,"name":{"114":{}},"parent":{}}],["elementtypemap",{"_index":96,"name":{"99":{}},"parent":{}}],["enablecpumemarena",{"_index":40,"name":{"40":{}},"parent":{}}],["enablemempattern",{"_index":41,"name":{"41":{}},"parent":{}}],["enableprofiling",{"_index":43,"name":{"43":{}},"parent":{}}],["endprofiling",{"_index":23,"name":{"24":{}},"parent":{}}],["env",{"_index":0,"name":{"0":{},"5":{},"19":{}},"parent":{"1":{},"2":{},"3":{},"4":{},"6":{},"7":{},"13":{}}}],["env.webassemblyflags",{"_index":8,"name":{},"parent":{"8":{},"9":{},"10":{},"11":{},"12":{}}}],["env.webglflags",{"_index":15,"name":{},"parent":{"14":{},"15":{},"16":{},"17":{},"18":{}}}],["executionmode",{"_index":42,"name":{"42":{}},"parent":{}}],["executionproviderconfig",{"_index":54,"name":{"55":{}},"parent":{}}],["executionprovidername",{"_index":53,"name":{"54":{}},"parent":{}}],["executionprovideroption",{"_index":55,"name":{"56":{}},"parent":{}}],["executionprovideroptionmap",{"_index":49,"name":{"49":{}},"parent":{}}],["executionproviders",{"_index":35,"name":{"36":{}},"parent":{}}],["extra",{"_index":48,"name":{"48":{},"73":{}},"parent":{}}],["feedstype",{"_index":31,"name":{"32":{}},"parent":{}}],["fetchestype",{"_index":32,"name":{"33":{}},"parent":{}}],["float16",{"_index":92,"name":{"95":{},"109":{}},"parent":{}}],["float32",{"_index":82,"name":{"86":{},"100":{}},"parent":{}}],["float64",{"_index":93,"name":{"96":{},"110":{}},"parent":{}}],["graphoptimizationlevel",{"_index":39,"name":{"39":{}},"parent":{}}],["inferencesession",{"_index":20,"name":{"20":{},"21":{},"27":{}},"parent":{"22":{},"23":{},"24":{},"25":{},"26":{},"28":{},"30":{},"32":{},"33":{},"34":{},"35":{},"49":{},"54":{},"55":{},"56":{},"58":{},"61":{},"64":{},"66":{},"68":{},"74":{}}}],["inferencesession.cpuexecutionprovideroption",{"_index":59,"name":{},"parent":{"59":{},"60":{}}}],["inferencesession.cudaexecutionprovideroption",{"_index":62,"name":{},"parent":{"62":{},"63":{}}}],["inferencesession.executionprovideroption",{"_index":57,"name":{},"parent":{"57":{}}}],["inferencesession.executionprovideroptionmap",{"_index":51,"name":{},"parent":{"50":{},"51":{},"52":{},"53":{}}}],["inferencesession.nullableonnxvaluemaptype",{"_index":30,"name":{},"parent":{"31":{}}}],["inferencesession.onnxvaluemaptype",{"_index":28,"name":{},"parent":{"29":{}}}],["inferencesession.runoptions",{"_index":69,"name":{},"parent":{"69":{},"70":{},"71":{},"72":{},"73":{}}}],["inferencesession.sessionoptions",{"_index":36,"name":{},"parent":{"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{},"43":{},"44":{},"45":{},"46":{},"47":{},"48":{}}}],["inferencesession.webassemblyexecutionprovideroption",{"_index":65,"name":{},"parent":{"65":{}}}],["inferencesession.webglexecutionprovideroption",{"_index":67,"name":{},"parent":{"67":{}}}],["inferencesessionfactory",{"_index":73,"name":{"75":{}},"parent":{"76":{}}}],["inittimeout",{"_index":10,"name":{"10":{}},"parent":{}}],["inputnames",{"_index":24,"name":{"25":{}},"parent":{}}],["int16",{"_index":87,"name":{"90":{},"104":{}},"parent":{}}],["int32",{"_index":88,"name":{"91":{},"105":{}},"parent":{}}],["int64",{"_index":89,"name":{"92":{},"106":{}},"parent":{}}],["int8",{"_index":85,"name":{"88":{},"102":{}},"parent":{}}],["interopnumthreads",{"_index":38,"name":{"38":{}},"parent":{}}],["intraopnumthreads",{"_index":37,"name":{"37":{}},"parent":{}}],["logid",{"_index":45,"name":{"45":{}},"parent":{}}],["loglevel",{"_index":1,"name":{"1":{}},"parent":{}}],["logseveritylevel",{"_index":46,"name":{"46":{},"69":{}},"parent":{}}],["logverbositylevel",{"_index":47,"name":{"47":{},"70":{}},"parent":{}}],["matmulmaxbatchsize",{"_index":16,"name":{"15":{}},"parent":{}}],["name",{"_index":56,"name":{"57":{},"59":{},"62":{},"65":{},"67":{}},"parent":{}}],["nullableonnxvaluemaptype",{"_index":29,"name":{"30":{}},"parent":{}}],["numthreads",{"_index":7,"name":{"8":{}},"parent":{}}],["onnxvalue",{"_index":103,"name":{"124":{}},"parent":{}}],["onnxvaluemaptype",{"_index":26,"name":{"28":{}},"parent":{}}],["outputnames",{"_index":25,"name":{"26":{}},"parent":{}}],["pack",{"_index":18,"name":{"17":{}},"parent":{}}],["profilefileprefix",{"_index":44,"name":{"44":{}},"parent":{}}],["proxy",{"_index":12,"name":{"12":{}},"parent":{}}],["reshape",{"_index":80,"name":{"83":{},"121":{}},"parent":{}}],["returntype",{"_index":33,"name":{"34":{}},"parent":{}}],["run",{"_index":21,"name":{"22":{}},"parent":{}}],["runoptions",{"_index":68,"name":{"68":{}},"parent":{}}],["sessionoptions",{"_index":34,"name":{"35":{}},"parent":{}}],["simd",{"_index":9,"name":{"9":{}},"parent":{}}],["size",{"_index":79,"name":{"82":{},"120":{}},"parent":{}}],["startprofiling",{"_index":22,"name":{"23":{}},"parent":{}}],["string",{"_index":90,"name":{"93":{},"107":{}},"parent":{}}],["tag",{"_index":71,"name":{"72":{}},"parent":{}}],["tensor",{"_index":75,"name":{"77":{},"78":{},"84":{}},"parent":{"79":{},"80":{},"81":{},"82":{},"83":{},"85":{},"99":{},"113":{},"114":{},"115":{}}}],["tensor.datatypemap",{"_index":83,"name":{},"parent":{"86":{},"87":{},"88":{},"89":{},"90":{},"91":{},"92":{},"93":{},"94":{},"95":{},"96":{},"97":{},"98":{}}}],["tensor.elementtypemap",{"_index":97,"name":{},"parent":{"100":{},"101":{},"102":{},"103":{},"104":{},"105":{},"106":{},"107":{},"108":{},"109":{},"110":{},"111":{},"112":{}}}],["tensorconstructor",{"_index":101,"name":{"122":{}},"parent":{"123":{}}}],["terminate",{"_index":70,"name":{"71":{}},"parent":{}}],["texturecachemode",{"_index":17,"name":{"16":{}},"parent":{}}],["type",{"_index":77,"name":{"80":{},"115":{},"118":{}},"parent":{}}],["typedtensor",{"_index":100,"name":{"116":{}},"parent":{"117":{},"118":{},"119":{},"120":{},"121":{}}}],["uint16",{"_index":86,"name":{"89":{},"103":{}},"parent":{}}],["uint32",{"_index":94,"name":{"97":{},"111":{}},"parent":{}}],["uint64",{"_index":95,"name":{"98":{},"112":{}},"parent":{}}],["uint8",{"_index":84,"name":{"87":{},"101":{}},"parent":{}}],["usearena",{"_index":60,"name":{"60":{}},"parent":{}}],["valuemetadata",{"_index":72,"name":{"74":{}},"parent":{}}],["wasm",{"_index":3,"name":{"3":{},"52":{}},"parent":{}}],["wasmpaths",{"_index":11,"name":{"11":{}},"parent":{}}],["wasmprefixorfilepaths",{"_index":5,"name":{"6":{}},"parent":{}}],["webassemblyexecutionprovideroption",{"_index":64,"name":{"64":{}},"parent":{}}],["webassemblyflags",{"_index":6,"name":{"7":{}},"parent":{}}],["webgl",{"_index":4,"name":{"4":{},"53":{}},"parent":{}}],["webglexecutionprovideroption",{"_index":66,"name":{"66":{}},"parent":{}}],["webglflags",{"_index":13,"name":{"13":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file diff --git a/docs/api/js/assets/style.css b/docs/api/js/assets/style.css new file mode 100644 index 0000000000..2e409a9719 --- /dev/null +++ b/docs/api/js/assets/style.css @@ -0,0 +1,1341 @@ +@import url("./icons.css"); + +:root { + /* Light */ + --light-color-background: #fcfcfc; + --light-color-secondary-background: #fff; + --light-color-text: #222; + --light-color-text-aside: #707070; + --light-color-link: #4da6ff; + --light-color-menu-divider: #eee; + --light-color-menu-divider-focus: #000; + --light-color-menu-label: #707070; + --light-color-panel: var(--light-color-secondary-background); + --light-color-panel-divider: #eee; + --light-color-comment-tag: #707070; + --light-color-comment-tag-text: #fff; + --light-color-ts: #9600ff; + --light-color-ts-interface: #647f1b; + --light-color-ts-enum: #937210; + --light-color-ts-class: #0672de; + --light-color-ts-private: #707070; + --light-color-toolbar: #fff; + --light-color-toolbar-text: #333; + --light-icon-filter: invert(0); + --light-external-icon: url("data:image/svg+xml;utf8,"); + + /* Dark */ + --dark-color-background: #36393f; + --dark-color-secondary-background: #2f3136; + --dark-color-text: #ffffff; + --dark-color-text-aside: #e6e4e4; + --dark-color-link: #00aff4; + --dark-color-menu-divider: #eee; + --dark-color-menu-divider-focus: #000; + --dark-color-menu-label: #707070; + --dark-color-panel: var(--dark-color-secondary-background); + --dark-color-panel-divider: #818181; + --dark-color-comment-tag: #dcddde; + --dark-color-comment-tag-text: #2f3136; + --dark-color-ts: #c97dff; + --dark-color-ts-interface: #9cbe3c; + --dark-color-ts-enum: #d6ab29; + --dark-color-ts-class: #3695f3; + --dark-color-ts-private: #e2e2e2; + --dark-color-toolbar: #34373c; + --dark-color-toolbar-text: #ffffff; + --dark-icon-filter: invert(1); + --dark-external-icon: url("data:image/svg+xml;utf8,"); +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-secondary-background: var(--light-color-secondary-background); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-menu-divider: var(--light-color-menu-divider); + --color-menu-divider-focus: var(--light-color-menu-divider-focus); + --color-menu-label: var(--light-color-menu-label); + --color-panel: var(--light-color-panel); + --color-panel-divider: var(--light-color-panel-divider); + --color-comment-tag: var(--light-color-comment-tag); + --color-comment-tag-text: var(--light-color-comment-tag-text); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-private: var(--light-color-ts-private); + --color-toolbar: var(--light-color-toolbar); + --color-toolbar-text: var(--light-color-toolbar-text); + --icon-filter: var(--light-icon-filter); + --external-icon: var(--light-external-icon); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-secondary-background: var(--dark-color-secondary-background); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-menu-divider: var(--dark-color-menu-divider); + --color-menu-divider-focus: var(--dark-color-menu-divider-focus); + --color-menu-label: var(--dark-color-menu-label); + --color-panel: var(--dark-color-panel); + --color-panel-divider: var(--dark-color-panel-divider); + --color-comment-tag: var(--dark-color-comment-tag); + --color-comment-tag-text: var(--dark-color-comment-tag-text); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-private: var(--dark-color-ts-private); + --color-toolbar: var(--dark-color-toolbar); + --color-toolbar-text: var(--dark-color-toolbar-text); + --icon-filter: var(--dark-icon-filter); + --external-icon: var(--dark-external-icon); + } +} + +body { + margin: 0; +} + +body.light { + --color-background: var(--light-color-background); + --color-secondary-background: var(--light-color-secondary-background); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-menu-divider: var(--light-color-menu-divider); + --color-menu-divider-focus: var(--light-color-menu-divider-focus); + --color-menu-label: var(--light-color-menu-label); + --color-panel: var(--light-color-panel); + --color-panel-divider: var(--light-color-panel-divider); + --color-comment-tag: var(--light-color-comment-tag); + --color-comment-tag-text: var(--light-color-comment-tag-text); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-private: var(--light-color-ts-private); + --color-toolbar: var(--light-color-toolbar); + --color-toolbar-text: var(--light-color-toolbar-text); + --icon-filter: var(--light-icon-filter); + --external-icon: var(--light-external-icon); +} + +body.dark { + --color-background: var(--dark-color-background); + --color-secondary-background: var(--dark-color-secondary-background); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-menu-divider: var(--dark-color-menu-divider); + --color-menu-divider-focus: var(--dark-color-menu-divider-focus); + --color-menu-label: var(--dark-color-menu-label); + --color-panel: var(--dark-color-panel); + --color-panel-divider: var(--dark-color-panel-divider); + --color-comment-tag: var(--dark-color-comment-tag); + --color-comment-tag-text: var(--dark-color-comment-tag-text); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-private: var(--dark-color-ts-private); + --color-toolbar: var(--dark-color-toolbar); + --color-toolbar-text: var(--dark-color-toolbar-text); + --icon-filter: var(--dark-icon-filter); + --external-icon: var(--dark-external-icon); +} + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +h2 { + font-size: 1.5em; + margin: 0.83em 0; +} + +h3 { + font-size: 1.17em; + margin: 1em 0; +} + +h4, +.tsd-index-panel h3 { + font-size: 1em; + margin: 1.33em 0; +} + +h5 { + font-size: 0.83em; + margin: 1.67em 0; +} + +h6 { + font-size: 0.67em; + margin: 2.33em 0; +} + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 40px; +} +@media (max-width: 640px) { + .container { + padding: 0 20px; + } +} + +.container-main { + padding-bottom: 200px; +} + +.row { + display: flex; + position: relative; + margin: 0 -10px; +} +.row:after { + visibility: hidden; + display: block; + content: ""; + clear: both; + height: 0; +} + +.col-4, +.col-8 { + box-sizing: border-box; + float: left; + padding: 0 10px; +} + +.col-4 { + width: 33.3333333333%; +} +.col-8 { + width: 66.6666666667%; +} + +ul.tsd-descriptions > li > :first-child, +.tsd-panel > :first-child, +.col-8 > :first-child, +.col-4 > :first-child, +ul.tsd-descriptions > li > :first-child > :first-child, +.tsd-panel > :first-child > :first-child, +.col-8 > :first-child > :first-child, +.col-4 > :first-child > :first-child, +ul.tsd-descriptions > li > :first-child > :first-child > :first-child, +.tsd-panel > :first-child > :first-child > :first-child, +.col-8 > :first-child > :first-child > :first-child, +.col-4 > :first-child > :first-child > :first-child { + margin-top: 0; +} +ul.tsd-descriptions > li > :last-child, +.tsd-panel > :last-child, +.col-8 > :last-child, +.col-4 > :last-child, +ul.tsd-descriptions > li > :last-child > :last-child, +.tsd-panel > :last-child > :last-child, +.col-8 > :last-child > :last-child, +.col-4 > :last-child > :last-child, +ul.tsd-descriptions > li > :last-child > :last-child > :last-child, +.tsd-panel > :last-child > :last-child > :last-child, +.col-8 > :last-child > :last-child > :last-child, +.col-4 > :last-child > :last-child > :last-child { + margin-bottom: 0; +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes shift-to-left { + from { + transform: translate(0, 0); + } + to { + transform: translate(-25%, 0); + } +} +@keyframes unshift-to-left { + from { + transform: translate(-25%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 14px; +} + +pre { + padding: 10px; +} +pre code { + padding: 0; + font-size: 100%; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +@media (min-width: 901px) and (max-width: 1024px) { + html.default .col-content { + width: 72%; + } + html.default .col-menu { + width: 28%; + } + html.default .tsd-navigation { + padding-left: 10px; + } +} +@media (max-width: 900px) { + html.default .col-content { + float: none; + width: 100%; + } + html.default .col-menu { + position: fixed !important; + overflow: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + width: 100%; + padding: 20px 20px 0 0; + max-width: 450px; + visibility: hidden; + background-color: var(--color-panel); + transform: translate(100%, 0); + } + html.default .col-menu > *:last-child { + padding-bottom: 20px; + } + html.default .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } +} + +.tsd-page-title { + padding: 70px 0 20px 0; + margin: 0 0 40px 0; + background: var(--color-panel); + box-shadow: 0 0 5px rgba(0, 0, 0, 0.35); +} +.tsd-page-title h1 { + margin: 0; +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +dl.tsd-comment-tags { + overflow: hidden; +} +dl.tsd-comment-tags dt { + float: left; + padding: 1px 5px; + margin: 0 10px 0 0; + border-radius: 4px; + border: 1px solid var(--color-comment-tag); + color: var(--color-comment-tag); + font-size: 0.8em; + font-weight: normal; +} +dl.tsd-comment-tags dd { + margin: 0 0 10px 0; +} +dl.tsd-comment-tags dd:before, +dl.tsd-comment-tags dd:after { + display: table; + content: " "; +} +dl.tsd-comment-tags dd pre, +dl.tsd-comment-tags dd:after { + clear: both; +} +dl.tsd-comment-tags p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.toggle-protected .tsd-is-private { + display: none; +} + +.toggle-public .tsd-is-private, +.toggle-public .tsd-is-protected, +.toggle-public .tsd-is-private-protected { + display: none; +} + +.toggle-inherited .tsd-is-inherited { + display: none; +} + +.toggle-externals .tsd-is-external { + display: none; +} + +#tsd-filter { + position: relative; + display: inline-block; + height: 40px; + vertical-align: bottom; +} +.no-filter #tsd-filter { + display: none; +} +#tsd-filter .tsd-filter-group { + display: inline-block; + height: 40px; + vertical-align: bottom; + white-space: nowrap; +} +#tsd-filter input { + display: none; +} +@media (max-width: 900px) { + #tsd-filter .tsd-filter-group { + display: block; + position: absolute; + top: 40px; + right: 20px; + height: auto; + background-color: var(--color-panel); + visibility: hidden; + transform: translate(50%, 0); + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); + } + .has-options #tsd-filter .tsd-filter-group { + visibility: visible; + } + .to-has-options #tsd-filter .tsd-filter-group { + animation: fade-in 0.2s; + } + .from-has-options #tsd-filter .tsd-filter-group { + animation: fade-out 0.2s; + } + #tsd-filter label, + #tsd-filter .tsd-select { + display: block; + padding-right: 20px; + } +} + +footer { + border-top: 1px solid var(--color-panel-divider); + background-color: var(--color-panel); +} +footer.with-border-bottom { + border-bottom: 1px solid var(--color-panel-divider); +} +footer .tsd-legend-group { + font-size: 0; +} +footer .tsd-legend { + display: inline-block; + width: 25%; + padding: 0; + font-size: 16px; + list-style: none; + line-height: 1.333em; + vertical-align: top; +} +@media (max-width: 900px) { + footer .tsd-legend { + width: 50%; + } +} + +.tsd-hierarchy { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-index-panel .tsd-index-content { + margin-bottom: -30px !important; +} +.tsd-index-panel .tsd-index-section { + margin-bottom: 30px !important; +} +.tsd-index-panel h3 { + margin: 0 -20px 10px -20px; + padding: 0 20px 10px 20px; + border-bottom: 1px solid var(--color-panel-divider); +} +.tsd-index-panel ul.tsd-index-list { + -webkit-column-count: 3; + -moz-column-count: 3; + -ms-column-count: 3; + -o-column-count: 3; + column-count: 3; + -webkit-column-gap: 20px; + -moz-column-gap: 20px; + -ms-column-gap: 20px; + -o-column-gap: 20px; + column-gap: 20px; + padding: 0; + list-style: none; + line-height: 1.333em; +} +@media (max-width: 900px) { + .tsd-index-panel ul.tsd-index-list { + -webkit-column-count: 1; + -moz-column-count: 1; + -ms-column-count: 1; + -o-column-count: 1; + column-count: 1; + } +} +@media (min-width: 901px) and (max-width: 1024px) { + .tsd-index-panel ul.tsd-index-list { + -webkit-column-count: 2; + -moz-column-count: 2; + -ms-column-count: 2; + -o-column-count: 2; + column-count: 2; + } +} +.tsd-index-panel ul.tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} +.tsd-index-panel a, +.tsd-index-panel .tsd-parent-kind-module a { + color: var(--color-ts); +} +.tsd-index-panel .tsd-parent-kind-interface a { + color: var(--color-ts-interface); +} +.tsd-index-panel .tsd-parent-kind-enum a { + color: var(--color-ts-enum); +} +.tsd-index-panel .tsd-parent-kind-class a { + color: var(--color-ts-class); +} +.tsd-index-panel .tsd-kind-module a { + color: var(--color-ts); +} +.tsd-index-panel .tsd-kind-interface a { + color: var(--color-ts-interface); +} +.tsd-index-panel .tsd-kind-enum a { + color: var(--color-ts-enum); +} +.tsd-index-panel .tsd-kind-class a { + color: var(--color-ts-class); +} +.tsd-index-panel .tsd-is-private a { + color: var(--color-ts-private); +} + +.tsd-flag { + display: inline-block; + padding: 1px 5px; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 14px; + font-weight: normal; +} + +.tsd-anchor { + position: absolute; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} +.tsd-member [data-tsd-kind] { + color: var(--color-ts); +} +.tsd-member [data-tsd-kind="Interface"] { + color: var(--color-ts-interface); +} +.tsd-member [data-tsd-kind="Enum"] { + color: var(--color-ts-enum); +} +.tsd-member [data-tsd-kind="Class"] { + color: var(--color-ts-class); +} +.tsd-member [data-tsd-kind="Private"] { + color: var(--color-ts-private); +} + +.tsd-navigation { + margin: 0 0 0 40px; +} +.tsd-navigation a { + display: block; + padding-top: 2px; + padding-bottom: 2px; + border-left: 2px solid transparent; + color: var(--color-text); + text-decoration: none; + transition: border-left-color 0.1s; +} +.tsd-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul { + margin: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li { + padding: 0; +} + +.tsd-navigation.primary { + padding-bottom: 40px; +} +.tsd-navigation.primary a { + display: block; + padding-top: 6px; + padding-bottom: 6px; +} +.tsd-navigation.primary ul li a { + padding-left: 5px; +} +.tsd-navigation.primary ul li li a { + padding-left: 25px; +} +.tsd-navigation.primary ul li li li a { + padding-left: 45px; +} +.tsd-navigation.primary ul li li li li a { + padding-left: 65px; +} +.tsd-navigation.primary ul li li li li li a { + padding-left: 85px; +} +.tsd-navigation.primary ul li li li li li li a { + padding-left: 105px; +} +.tsd-navigation.primary > ul { + border-bottom: 1px solid var(--color-panel-divider); +} +.tsd-navigation.primary li { + border-top: 1px solid var(--color-panel-divider); +} +.tsd-navigation.primary li.current > a { + font-weight: bold; +} +.tsd-navigation.primary li.label span { + display: block; + padding: 20px 0 6px 5px; + color: var(--color-menu-label); +} +.tsd-navigation.primary li.globals + li > span, +.tsd-navigation.primary li.globals + li > a { + padding-top: 20px; +} + +.tsd-navigation.secondary { + max-height: calc(100vh - 1rem - 40px); + overflow: auto; + position: -webkit-sticky; + position: sticky; + top: calc(0.5rem + 40px); + transition: 0.3s; +} +.tsd-navigation.secondary.tsd-navigation--toolbar-hide { + max-height: calc(100vh - 1rem); + top: 0.5rem; +} +.tsd-navigation.secondary ul { + transition: opacity 0.2s; +} +.tsd-navigation.secondary ul li a { + padding-left: 25px; +} +.tsd-navigation.secondary ul li li a { + padding-left: 45px; +} +.tsd-navigation.secondary ul li li li a { + padding-left: 65px; +} +.tsd-navigation.secondary ul li li li li a { + padding-left: 85px; +} +.tsd-navigation.secondary ul li li li li li a { + padding-left: 105px; +} +.tsd-navigation.secondary ul li li li li li li a { + padding-left: 125px; +} +.tsd-navigation.secondary ul.current a { + border-left-color: var(--color-panel-divider); +} +.tsd-navigation.secondary li.focus > a, +.tsd-navigation.secondary ul.current li.focus > a { + border-left-color: var(--color-menu-divider-focus); +} +.tsd-navigation.secondary li.current { + margin-top: 20px; + margin-bottom: 20px; + border-left-color: var(--color-panel-divider); +} +.tsd-navigation.secondary li.current > a { + font-weight: bold; +} + +@media (min-width: 901px) { + .menu-sticky-wrap { + position: static; + } +} + +.tsd-panel { + margin: 20px 0; + padding: 20px; + background-color: var(--color-panel); + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5em -20px 10px -20px; + padding: 0 20px 10px 20px; + border-bottom: 1px solid var(--color-panel-divider); +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: 0; +} +.tsd-panel table { + display: block; + width: 100%; + overflow: auto; + margin-top: 10px; + word-break: normal; + word-break: keep-all; + border-collapse: collapse; +} +.tsd-panel table th { + font-weight: bold; +} +.tsd-panel table th, +.tsd-panel table td { + padding: 6px 13px; + border: 1px solid var(--color-panel-divider); +} +.tsd-panel table tr { + background: var(--color-background); +} +.tsd-panel table tr:nth-child(even) { + background: var(--color-secondary-background); +} + +.tsd-panel-group { + margin: 60px 0; +} +.tsd-panel-group > h1, +.tsd-panel-group > h2, +.tsd-panel-group > h3 { + padding-left: 20px; + padding-right: 20px; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 40px; + height: 40px; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-panel); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-panel-divider); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-panel-divider); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +.tsd-signature { + margin: 0 0 1em 0; + padding: 10px; + border: 1px solid var(--color-panel-divider); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} +.tsd-signature.tsd-kind-icon { + padding-left: 30px; +} +.tsd-signature.tsd-kind-icon:before { + top: 10px; + left: 10px; +} +.tsd-panel > .tsd-signature { + margin-left: -20px; + margin-right: -20px; + border-width: 1px 0; +} +.tsd-panel > .tsd-signature.tsd-kind-icon { + padding-left: 40px; +} +.tsd-panel > .tsd-signature.tsd-kind-icon:before { + left: 20px; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + border: 1px solid var(--color-panel-divider); +} +.tsd-signatures .tsd-signature { + margin: 0; + border-width: 1px 0 0 0; + transition: background-color 0.1s; +} +.tsd-signatures .tsd-signature:first-child { + border-top-width: 0; +} +.tsd-signatures .tsd-signature.current { + background-color: var(--color-panel-divider); +} +.tsd-signatures.active > .tsd-signature { + cursor: pointer; +} +.tsd-panel > .tsd-signatures { + margin-left: -20px; + margin-right: -20px; + border-width: 1px 0; +} +.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon { + padding-left: 40px; +} +.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before { + left: 20px; +} +.tsd-panel > a.anchor + .tsd-signatures { + border-top-width: 0; + margin-top: -20px; +} + +ul.tsd-descriptions { + position: relative; + overflow: hidden; + padding: 0; + list-style: none; +} +ul.tsd-descriptions.active > .tsd-description { + display: none; +} +ul.tsd-descriptions.active > .tsd-description.current { + display: block; +} +ul.tsd-descriptions.active > .tsd-description.fade-in { + animation: fade-in-delayed 0.3s; +} +ul.tsd-descriptions.active > .tsd-description.fade-out { + animation: fade-out-delayed 0.3s; + position: absolute; + display: block; + top: 0; + left: 0; + right: 0; + opacity: 0; + visibility: hidden; +} +ul.tsd-descriptions h4, +ul.tsd-descriptions .tsd-index-panel h3, +.tsd-index-panel ul.tsd-descriptions h3 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} + +ul.tsd-parameters, +ul.tsd-type-parameters { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameters > li.tsd-parameter-signature, +ul.tsd-type-parameters > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameters h5, +ul.tsd-type-parameters h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +ul.tsd-parameters .tsd-comment, +ul.tsd-type-parameters .tsd-comment { + margin-top: -0.5em; +} + +.tsd-sources { + font-size: 14px; + color: var(--color-text-aside); + margin: 0 0 1em 0; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul, +.tsd-sources p { + margin: 0 !important; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: fixed; + z-index: 1; + top: 0; + left: 0; + width: 100%; + height: 40px; + color: var(--color-toolbar-text); + background: var(--color-toolbar); + border-bottom: 1px solid var(--color-panel-divider); + transition: transform 0.3s linear; +} +.tsd-page-toolbar a { + color: var(--color-toolbar-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .table-wrap { + display: table; + width: 100%; + height: 40px; +} +.tsd-page-toolbar .table-cell { + display: table-cell; + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} + +.tsd-page-toolbar--hide { + transform: translateY(-100%); +} + +.tsd-select .tsd-select-list li:before, +.tsd-select .tsd-select-label:before, +.tsd-widget:before { + content: ""; + display: inline-block; + width: 40px; + height: 40px; + margin: 0 -8px 0 0; + background-image: url(./widgets.png); + background-repeat: no-repeat; + text-indent: -1024px; + vertical-align: bottom; + filter: var(--icon-filter); +} +@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { + .tsd-select .tsd-select-list li:before, + .tsd-select .tsd-select-label:before, + .tsd-widget:before { + background-image: url(./widgets@2x.png); + background-size: 320px 40px; + } +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-panel-divider); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} +.tsd-widget.search:before { + background-position: 0 0; +} +.tsd-widget.menu:before { + background-position: -40px 0; +} +.tsd-widget.options:before { + background-position: -80px 0; +} +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +@media (max-width: 900px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +.tsd-select { + position: relative; + display: inline-block; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-select .tsd-select-label { + opacity: 0.6; + transition: opacity 0.2s; +} +.tsd-select .tsd-select-label:before { + background-position: -240px 0; +} +.tsd-select.active .tsd-select-label { + opacity: 0.8; +} +.tsd-select.active .tsd-select-list { + visibility: visible; + opacity: 1; + transition-delay: 0s; +} +.tsd-select .tsd-select-list { + position: absolute; + visibility: hidden; + top: 40px; + left: 0; + margin: 0; + padding: 0; + opacity: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); + transition: visibility 0s 0.2s, opacity 0.2s; +} +.tsd-select .tsd-select-list li { + padding: 0 20px 0 0; + background-color: var(--color-background); +} +.tsd-select .tsd-select-list li:before { + background-position: 40px 0; +} +.tsd-select .tsd-select-list li:nth-child(even) { + background-color: var(--color-panel); +} +.tsd-select .tsd-select-list li:hover { + background-color: var(--color-panel-divider); +} +.tsd-select .tsd-select-list li.selected:before { + background-position: -200px 0; +} +@media (max-width: 900px) { + .tsd-select .tsd-select-list { + top: 0; + left: auto; + right: 100%; + margin-right: -5px; + } + .tsd-select .tsd-select-label:before { + background-position: -280px 0; + } +} + +img { + max-width: 100%; +} diff --git a/docs/api/js/assets/widgets.png b/docs/api/js/assets/widgets.png new file mode 100644 index 0000000000..c7380532ac Binary files /dev/null and b/docs/api/js/assets/widgets.png differ diff --git a/docs/api/js/assets/widgets@2x.png b/docs/api/js/assets/widgets@2x.png new file mode 100644 index 0000000000..4bbbd57272 Binary files /dev/null and b/docs/api/js/assets/widgets@2x.png differ diff --git a/docs/api/js/index.html b/docs/api/js/index.html new file mode 100644 index 0000000000..349fb320b8 --- /dev/null +++ b/docs/api/js/index.html @@ -0,0 +1,22 @@ +ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

ONNX Runtime JavaScript API

ONNX Runtime JavaScript API is a unified API for all JavaScript usages, including the following NPM packages:

+ +

See also:

+ +

Index

Type aliases

OnnxValue

OnnxValue: Tensor | NonTensorType
+

Type OnnxValue Represents both tensors and non-tensors value for model's inputs/outputs.

+

NOTE: currently not support non-tensor

+

Variables

InferenceSession

InferenceSession: InferenceSessionFactory

Tensor

env

env: Env = ...
+

Represent a set of flags as a global singleton.

+

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/Env.WebAssemblyFlags.html b/docs/api/js/interfaces/Env.WebAssemblyFlags.html new file mode 100644 index 0000000000..a8f3d0305b --- /dev/null +++ b/docs/api/js/interfaces/Env.WebAssemblyFlags.html @@ -0,0 +1,20 @@ +WebAssemblyFlags | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebAssemblyFlags

Index

Properties

Optional initTimeout

initTimeout?: number
+

Set or get a number specifying the timeout for initialization of WebAssembly backend, in milliseconds. A zero +value indicates no timeout is set.

+
defaultvalue

0

+

Optional numThreads

numThreads?: number
+

set or get number of thread(s). If omitted or set to 0, number of thread(s) will be determined by system. If set +to 1, no worker thread will be spawned.

+

This setting is available only when WebAssembly multithread feature is available in current context.

+
defaultvalue

0

+

Optional proxy

proxy?: boolean
+

Set or get a boolean value indicating whether to proxy the execution of main thread to a worker thread.

+
defaultvalue

false

+

Optional simd

simd?: boolean
+

set or get a boolean value indicating whether to enable SIMD. If set to false, SIMD will be forcely disabled.

+

This setting is available only when WebAssembly SIMD feature is available in current context.

+
defaultvalue

true

+

Optional wasmPaths

+

Set a custom URL prefix to the .wasm files or a set of overrides for each .wasm file. The override path should be +an absolute path.

+

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/Env.WebGLFlags.html b/docs/api/js/interfaces/Env.WebGLFlags.html new file mode 100644 index 0000000000..ad74e65f18 --- /dev/null +++ b/docs/api/js/interfaces/Env.WebGLFlags.html @@ -0,0 +1,15 @@ +WebGLFlags | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebGLFlags

Index

Properties

Optional async

async?: boolean
+

Set or get whether enable async download.

+
defaultvalue

false

+

Optional contextId

contextId?: "webgl" | "webgl2"
+

Set or get the WebGL Context ID (webgl or webgl2).

+
defaultvalue

'webgl2'

+

Optional matmulMaxBatchSize

matmulMaxBatchSize?: number
+

Set or get the maximum batch size for matmul. 0 means to disable batching.

+
deprecated

Optional pack

pack?: boolean
+

Set or get the packed texture mode

+
defaultvalue

false

+

Optional textureCacheMode

textureCacheMode?: "initializerOnly" | "full"
+

Set or get the texture cache mode.

+
defaultvalue

'full'

+

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/Env.html b/docs/api/js/interfaces/Env.html new file mode 100644 index 0000000000..ec4b501f32 --- /dev/null +++ b/docs/api/js/interfaces/Env.html @@ -0,0 +1,11 @@ +Env | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Env

Indexable

[name: string]: unknown

Index

Properties

Optional debug

debug?: boolean
+

Indicate whether run in debug mode.

+
defaultvalue

false

+

Optional logLevel

logLevel?: "verbose" | "info" | "warning" | "error" | "fatal"
+

set the severity level for logging.

+
defaultvalue

'warning'

+

wasm

+

Represent a set of flags for WebAssembly

+

webgl

webgl: WebGLFlags
+

Represent a set of flags for WebGL

+

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.CpuExecutionProviderOption.html b/docs/api/js/interfaces/InferenceSession.CpuExecutionProviderOption.html new file mode 100644 index 0000000000..e0e3b719d1 --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.CpuExecutionProviderOption.html @@ -0,0 +1 @@ +CpuExecutionProviderOption | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Properties

Readonly name

name: "cpu"

Optional useArena

useArena?: boolean

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.CudaExecutionProviderOption.html b/docs/api/js/interfaces/InferenceSession.CudaExecutionProviderOption.html new file mode 100644 index 0000000000..de373cff93 --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.CudaExecutionProviderOption.html @@ -0,0 +1 @@ +CudaExecutionProviderOption | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Properties

Optional deviceId

deviceId?: number

Readonly name

name: "cuda"

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.ExecutionProviderOption.html b/docs/api/js/interfaces/InferenceSession.ExecutionProviderOption.html new file mode 100644 index 0000000000..4303c2379a --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.ExecutionProviderOption.html @@ -0,0 +1 @@ +ExecutionProviderOption | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.ExecutionProviderOptionMap.html b/docs/api/js/interfaces/InferenceSession.ExecutionProviderOptionMap.html new file mode 100644 index 0000000000..ab8c71bacc --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.ExecutionProviderOptionMap.html @@ -0,0 +1 @@ +ExecutionProviderOptionMap | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.RunOptions.html b/docs/api/js/interfaces/InferenceSession.RunOptions.html new file mode 100644 index 0000000000..6f4f99fad6 --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.RunOptions.html @@ -0,0 +1,23 @@ +RunOptions | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu
+

A set of configurations for inference run behavior

+

Hierarchy

  • RunOptions

Index

Properties

Optional extra

extra?: Record<string, unknown>
+

Set a single run configuration entry. See +https://github.com/microsoft/onnxruntime/blob/master/include/onnxruntime/core/session/ +onnxruntime_run_options_config_keys.h

+

This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later

+
example
extra: {
memory: {
enable_memory_arena_shrinkage: "1",
}
} +
+

Optional logSeverityLevel

logSeverityLevel?: 0 | 1 | 2 | 3 | 4

This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend

+

Optional logVerbosityLevel

logVerbosityLevel?: number
+

Log verbosity level.

+

This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later

+

Optional tag

tag?: string
+

A tag for the Run() calls using this

+

This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend

+

Optional terminate

terminate?: boolean
+

Terminate all incomplete OrtRun calls as soon as possible if true

+

This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later

+

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.SessionOptions.html b/docs/api/js/interfaces/InferenceSession.SessionOptions.html new file mode 100644 index 0000000000..2376325a29 --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.SessionOptions.html @@ -0,0 +1,48 @@ +SessionOptions | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu
+

A set of configurations for session behavior.

+

Hierarchy

  • SessionOptions

Index

Properties

Optional enableCpuMemArena

enableCpuMemArena?: boolean
+

Whether enable CPU memory arena.

+

This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend

+

Optional enableMemPattern

enableMemPattern?: boolean
+

Whether enable memory pattern.

+

This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend

+

Optional enableProfiling

enableProfiling?: boolean
+

Wether enable profiling.

+

This setting is a placeholder for a future use.

+

Optional executionMode

executionMode?: "sequential" | "parallel"
+

Execution mode.

+

This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend

+

Optional executionProviders

executionProviders?: readonly ExecutionProviderConfig[]
+

An array of execution provider options.

+

An execution provider option can be a string indicating the name of the execution provider, +or an object of corresponding type.

+

Optional extra

extra?: Record<string, unknown>
+

Store configurations for a session. See +https://github.com/microsoft/onnxruntime/blob/master/include/onnxruntime/core/session/ +onnxruntime_session_options_config_keys.h

+

This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later

+
example
extra: {
session: {
set_denormal_as_zero: "1",
disable_prepacking: "1"
},
optimization: {
enable_gelu_approximation: "1"
}
} +
+

Optional graphOptimizationLevel

graphOptimizationLevel?: "disabled" | "basic" | "extended" | "all"
+

The optimization level.

+

This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend

+

Optional interOpNumThreads

interOpNumThreads?: number
+

The inter OP threads number.

+

This setting is available only in ONNXRuntime (Node.js binding and react-native).

+

Optional intraOpNumThreads

intraOpNumThreads?: number
+

The intra OP threads number.

+

This setting is available only in ONNXRuntime (Node.js binding and react-native).

+

Optional logId

logId?: string
+

Log ID.

+

This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend

+

Optional logSeverityLevel

logSeverityLevel?: 0 | 1 | 2 | 3 | 4

This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend

+

Optional logVerbosityLevel

logVerbosityLevel?: number
+

Log verbosity level.

+

This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later

+

Optional profileFilePrefix

profileFilePrefix?: string
+

File prefix for profiling.

+

This setting is a placeholder for a future use.

+

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.ValueMetadata.html b/docs/api/js/interfaces/InferenceSession.ValueMetadata.html new file mode 100644 index 0000000000..6173e99a8f --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.ValueMetadata.html @@ -0,0 +1 @@ +ValueMetadata | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.WebAssemblyExecutionProviderOption.html b/docs/api/js/interfaces/InferenceSession.WebAssemblyExecutionProviderOption.html new file mode 100644 index 0000000000..7228ff76db --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.WebAssemblyExecutionProviderOption.html @@ -0,0 +1 @@ +WebAssemblyExecutionProviderOption | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Properties

Readonly name

name: "wasm"

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.WebGLExecutionProviderOption.html b/docs/api/js/interfaces/InferenceSession.WebGLExecutionProviderOption.html new file mode 100644 index 0000000000..a8b1703fbb --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.WebGLExecutionProviderOption.html @@ -0,0 +1 @@ +WebGLExecutionProviderOption | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Properties

Readonly name

name: "webgl"

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSession.html b/docs/api/js/interfaces/InferenceSession.html new file mode 100644 index 0000000000..5a751082a8 --- /dev/null +++ b/docs/api/js/interfaces/InferenceSession.html @@ -0,0 +1,23 @@ +InferenceSession | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu
+

Represent a runtime instance of an ONNX model.

+

Hierarchy

  • InferenceSession

Index

Properties

Readonly inputNames

inputNames: readonly string[]
+

Get input names of the loaded model.

+

Readonly outputNames

outputNames: readonly string[]
+

Get output names of the loaded model.

+

Methods

endProfiling

  • endProfiling(): void

run

  • +

    Execute the model asynchronously with the given feeds and options.

    +

    Parameters

    • feeds: OnnxValueMapType

      Representation of the model input. See type description of InferenceSession.InputType for detail.

      +
    • Optional options: RunOptions

      Optional. A set of options that controls the behavior of model inference.

      +

    Returns Promise<OnnxValueMapType>

    A promise that resolves to a map, which uses output names as keys and OnnxValue as corresponding values.

    +
  • +

    Execute the model asynchronously with the given feeds, fetches and options.

    +

    Parameters

    • feeds: OnnxValueMapType

      Representation of the model input. See type description of InferenceSession.InputType for detail.

      +
    • fetches: FetchesType

      Representation of the model output. See type description of InferenceSession.OutputType for +detail.

      +
    • Optional options: RunOptions

      Optional. A set of options that controls the behavior of model inference.

      +

    Returns Promise<OnnxValueMapType>

    A promise that resolves to a map, which uses output names as keys and OnnxValue as corresponding values.

    +

startProfiling

  • startProfiling(): void

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/InferenceSessionFactory.html b/docs/api/js/interfaces/InferenceSessionFactory.html new file mode 100644 index 0000000000..5ba5739ed9 --- /dev/null +++ b/docs/api/js/interfaces/InferenceSessionFactory.html @@ -0,0 +1,23 @@ +InferenceSessionFactory | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InferenceSessionFactory

Index

Methods

Methods

create

  • +

    Create a new inference session and load model asynchronously from an ONNX model file.

    +

    Parameters

    • uri: string

      The URI or file path of the model to load.

      +
    • Optional options: SessionOptions

      specify configuration for creating a new inference session.

      +

    Returns Promise<InferenceSession>

    A promise that resolves to an InferenceSession object.

    +
  • +

    Create a new inference session and load model asynchronously from an array bufer.

    +

    Parameters

    • buffer: ArrayBufferLike

      An ArrayBuffer representation of an ONNX model.

      +
    • Optional options: SessionOptions

      specify configuration for creating a new inference session.

      +

    Returns Promise<InferenceSession>

    A promise that resolves to an InferenceSession object.

    +
  • +

    Create a new inference session and load model asynchronously from segment of an array bufer.

    +

    Parameters

    • buffer: ArrayBufferLike

      An ArrayBuffer representation of an ONNX model.

      +
    • byteOffset: number

      The beginning of the specified portion of the array buffer.

      +
    • Optional byteLength: number

      The length in bytes of the array buffer.

      +
    • Optional options: SessionOptions

      specify configuration for creating a new inference session.

      +

    Returns Promise<InferenceSession>

    A promise that resolves to an InferenceSession object.

    +
  • +

    Create a new inference session and load model asynchronously from a Uint8Array.

    +

    Parameters

    • buffer: Uint8Array

      A Uint8Array representation of an ONNX model.

      +
    • Optional options: SessionOptions

      specify configuration for creating a new inference session.

      +

    Returns Promise<InferenceSession>

    A promise that resolves to an InferenceSession object.

    +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/Tensor.DataTypeMap.html b/docs/api/js/interfaces/Tensor.DataTypeMap.html new file mode 100644 index 0000000000..d8e1920b1e --- /dev/null +++ b/docs/api/js/interfaces/Tensor.DataTypeMap.html @@ -0,0 +1 @@ +DataTypeMap | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DataTypeMap

Index

Properties

bool

bool: Uint8Array

float16

float16: never

float32

float32: Float32Array

float64

float64: Float64Array

int16

int16: Int16Array

int32

int32: Int32Array

int64

int64: BigInt64Array

int8

int8: Int8Array

string

string: string[]

uint16

uint16: Uint16Array

uint32

uint32: Uint32Array

uint64

uint64: BigUint64Array

uint8

uint8: Uint8Array

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/Tensor.ElementTypeMap.html b/docs/api/js/interfaces/Tensor.ElementTypeMap.html new file mode 100644 index 0000000000..011b284b80 --- /dev/null +++ b/docs/api/js/interfaces/Tensor.ElementTypeMap.html @@ -0,0 +1 @@ +ElementTypeMap | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ElementTypeMap

Index

Properties

bool

bool: boolean

float16

float16: never

float32

float32: number

float64

float64: number

int16

int16: number

int32

int32: number

int64

int64: bigint

int8

int8: number

string

string: string

uint16

uint16: number

uint32

uint32: number

uint64

uint64: bigint

uint8

uint8: number

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/Tensor.html b/docs/api/js/interfaces/Tensor.html new file mode 100644 index 0000000000..165185f144 --- /dev/null +++ b/docs/api/js/interfaces/Tensor.html @@ -0,0 +1,14 @@ +Tensor | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu
+

Represent multi-dimensional arrays to feed to or fetch from model inferencing.

+

Hierarchy

  • TypedTensorBase<Type>
  • TypedTensorUtils<Type>
    • Tensor

Index

Properties

Methods

Properties

Readonly data

data: Uint8Array | string[] | Float32Array | Int8Array | Uint16Array | Int16Array | Int32Array | BigInt64Array | Float64Array | Uint32Array | BigUint64Array
+

Get the buffer data of the tensor.

+

Readonly dims

dims: readonly number[]
+

Get the dimensions of the tensor.

+

Readonly size

size: number
+

Get the number of elements in the tensor.

+

Readonly type

type: keyof DataTypeMap
+

Get the data type of the tensor.

+

Methods

reshape

  • +

    Create a new tensor with the same data buffer and specified dims.

    +

    Parameters

    • dims: readonly number[]

      New dimensions. Size should match the old one.

      +

    Returns TypedTensor<keyof DataTypeMap>

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/TensorConstructor.html b/docs/api/js/interfaces/TensorConstructor.html new file mode 100644 index 0000000000..9b00d22741 --- /dev/null +++ b/docs/api/js/interfaces/TensorConstructor.html @@ -0,0 +1,73 @@ +TensorConstructor | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TensorConstructor

Index

Constructors

Constructors

constructor

  • new TensorConstructor(type: "string", data: readonly string[] | string[], dims?: readonly number[]): TypedTensor<"string">
  • new TensorConstructor(type: "bool", data: Uint8Array | readonly boolean[], dims?: readonly number[]): TypedTensor<"bool">
  • new TensorConstructor<T>(type: T, data: readonly number[] | DataTypeMap[T], dims?: readonly number[]): TypedTensor<T>
  • new TensorConstructor(data: Float32Array, dims?: readonly number[]): TypedTensor<"float32">
  • new TensorConstructor(data: Int8Array, dims?: readonly number[]): TypedTensor<"int8">
  • new TensorConstructor(data: Uint8Array, dims?: readonly number[]): TypedTensor<"uint8">
  • new TensorConstructor(data: Uint16Array, dims?: readonly number[]): TypedTensor<"uint16">
  • new TensorConstructor(data: Int16Array, dims?: readonly number[]): TypedTensor<"int16">
  • new TensorConstructor(data: Int32Array, dims?: readonly number[]): TypedTensor<"int32">
  • new TensorConstructor(data: BigInt64Array, dims?: readonly number[]): TypedTensor<"int64">
  • new TensorConstructor(data: readonly string[], dims?: readonly number[]): TypedTensor<"string">
  • new TensorConstructor(data: readonly boolean[], dims?: readonly number[]): TypedTensor<"bool">
  • new TensorConstructor(data: Float64Array, dims?: readonly number[]): TypedTensor<"float64">
  • new TensorConstructor(data: Uint32Array, dims?: readonly number[]): TypedTensor<"uint32">
  • new TensorConstructor(data: BigUint64Array, dims?: readonly number[]): TypedTensor<"uint64">
  • new TensorConstructor(type: keyof DataTypeMap, data: readonly number[] | readonly boolean[] | DataType, dims?: readonly number[]): Tensor
  • new TensorConstructor(data: DataType, dims?: readonly number[]): Tensor
  • +

    Construct a new string tensor object from the given type, data and dims.

    +

    Parameters

    • type: "string"

      Specify the element type.

      +
    • data: readonly string[] | string[]

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"string">

  • +

    Construct a new bool tensor object from the given type, data and dims.

    +

    Parameters

    • type: "bool"

      Specify the element type.

      +
    • data: Uint8Array | readonly boolean[]

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"bool">

  • +

    Construct a new numeric tensor object from the given type, data and dims.

    +

    Type parameters

    • T: "float32" | "uint8" | "int8" | "uint16" | "int16" | "int32" | "int64" | "float16" | "float64" | "uint32" | "uint64"

    Parameters

    • type: T

      Specify the element type.

      +
    • data: readonly number[] | DataTypeMap[T]

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<T>

  • +

    Construct a new float32 tensor object from the given data and dims.

    +

    Parameters

    • data: Float32Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"float32">

  • +

    Construct a new int8 tensor object from the given data and dims.

    +

    Parameters

    • data: Int8Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"int8">

  • +

    Construct a new uint8 tensor object from the given data and dims.

    +

    Parameters

    • data: Uint8Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"uint8">

  • +

    Construct a new uint16 tensor object from the given data and dims.

    +

    Parameters

    • data: Uint16Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"uint16">

  • +

    Construct a new int16 tensor object from the given data and dims.

    +

    Parameters

    • data: Int16Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"int16">

  • +

    Construct a new int32 tensor object from the given data and dims.

    +

    Parameters

    • data: Int32Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"int32">

  • +

    Construct a new int64 tensor object from the given data and dims.

    +

    Parameters

    • data: BigInt64Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"int64">

  • +

    Construct a new string tensor object from the given data and dims.

    +

    Parameters

    • data: readonly string[]

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"string">

  • +

    Construct a new bool tensor object from the given data and dims.

    +

    Parameters

    • data: readonly boolean[]

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"bool">

  • +

    Construct a new float64 tensor object from the given data and dims.

    +

    Parameters

    • data: Float64Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"float64">

  • +

    Construct a new uint32 tensor object from the given data and dims.

    +

    Parameters

    • data: Uint32Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"uint32">

  • +

    Construct a new uint64 tensor object from the given data and dims.

    +

    Parameters

    • data: BigUint64Array

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns TypedTensor<"uint64">

  • +

    Construct a new tensor object from the given type, data and dims.

    +

    Parameters

    • type: keyof DataTypeMap

      Specify the element type.

      +
    • data: readonly number[] | readonly boolean[] | DataType

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns Tensor

  • +

    Construct a new tensor object from the given data and dims.

    +

    Parameters

    • data: DataType

      Specify the tensor data

      +
    • Optional dims: readonly number[]

      Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.

      +

    Returns Tensor

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/interfaces/TypedTensor.html b/docs/api/js/interfaces/TypedTensor.html new file mode 100644 index 0000000000..07e8ccc29b --- /dev/null +++ b/docs/api/js/interfaces/TypedTensor.html @@ -0,0 +1,14 @@ +TypedTensor | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu
+

Represent multi-dimensional arrays to feed to or fetch from model inferencing.

+

Type parameters

Hierarchy

  • TypedTensorBase<T>
  • TypedTensorUtils<T>
    • TypedTensor

Index

Properties

Methods

Properties

Readonly data

data: DataTypeMap[T]
+

Get the buffer data of the tensor.

+

Readonly dims

dims: readonly number[]
+

Get the dimensions of the tensor.

+

Readonly size

size: number
+

Get the number of elements in the tensor.

+

Readonly type

type: T
+

Get the data type of the tensor.

+

Methods

reshape

  • +

    Create a new tensor with the same data buffer and specified dims.

    +

    Parameters

    • dims: readonly number[]

      New dimensions. Size should match the old one.

      +

    Returns TypedTensor<T>

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/modules/Env.html b/docs/api/js/modules/Env.html new file mode 100644 index 0000000000..7900a04109 --- /dev/null +++ b/docs/api/js/modules/Env.html @@ -0,0 +1 @@ +Env | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

WasmPrefixOrFilePaths

WasmPrefixOrFilePaths: string | { ort-wasm-simd-threaded.wasm?: string; ort-wasm-simd.wasm?: string; ort-wasm-threaded.wasm?: string; ort-wasm.wasm?: string }

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/modules/InferenceSession.html b/docs/api/js/modules/InferenceSession.html new file mode 100644 index 0000000000..036bcafdd7 --- /dev/null +++ b/docs/api/js/modules/InferenceSession.html @@ -0,0 +1,15 @@ +InferenceSession | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

ExecutionProviderConfig

ExecutionProviderName

ExecutionProviderName: keyof ExecutionProviderOptionMap

FeedsType

FeedsType: OnnxValueMapType
+

A feeds (model inputs) is an object that uses input names as keys and OnnxValue as corresponding values.

+

FetchesType

FetchesType: readonly string[] | NullableOnnxValueMapType
+

A fetches (model outputs) could be one of the following:

+
    +
  • Omitted. Use model's output names definition.
  • +
  • An array of string indicating the output names.
  • +
  • An object that use output names as keys and OnnxValue or null as corresponding values.
  • +
+
remark

different from input argument, in output, OnnxValue is optional. If an OnnxValue is present it will be +used as a pre-allocated value by the inference engine; if omitted, inference engine will allocate buffer +internally.

+

NullableOnnxValueMapType

NullableOnnxValueMapType: {}

Type declaration

OnnxValueMapType

OnnxValueMapType: {}

Type declaration

ReturnType

ReturnType: OnnxValueMapType
+

A inferencing return type is an object that uses output names as keys and OnnxValue as corresponding values.

+

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/js/modules/Tensor.html b/docs/api/js/modules/Tensor.html new file mode 100644 index 0000000000..219d34a4ab --- /dev/null +++ b/docs/api/js/modules/Tensor.html @@ -0,0 +1,3 @@ +Tensor | ONNX Runtime JavaScript API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

DataType

DataType: DataTypeMap[Type]

ElementType

ElementType: ElementTypeMap[Type]

Type

Type: keyof DataTypeMap
+

represent the data type of a tensor

+

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/other-apis.md b/docs/api/other-apis.md index 4868d6ca0c..bc0ec994c4 100644 --- a/docs/api/other-apis.md +++ b/docs/api/other-apis.md @@ -1,7 +1,7 @@ --- title: Other Inference APIs parent: API Docs -nav_order: 6 +nav_order: 7 --- # Other APIs