onnxruntime/docs/api/js/interfaces/Env.WebGLFlags.html
Yulong Wang 5f7a25509c
[doc] update document for JavaScript API reference (#9080)
* add js api reference doc

* add landing page

* trivial revise

* update documents
2021-09-20 20:57:54 -05:00

15 lines
No EOL
9.3 KiB
HTML

<!DOCTYPE html><html class="default no-js"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>WebGLFlags | ONNX Runtime JavaScript API</title><meta name="description" content="Documentation for ONNX Runtime JavaScript API"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">ONNX Runtime JavaScript API</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../index.html">ONNX Runtime JavaScript API</a></li><li><a href="../modules/Env.html">Env</a></li><li><a href="Env.WebGLFlags.html">WebGLFlags</a></li></ul><h1>Interface WebGLFlags</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">WebGLFlags</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#async" class="tsd-kind-icon">async</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#contextId" class="tsd-kind-icon">context<wbr/>Id</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#matmulMaxBatchSize" class="tsd-kind-icon">matmul<wbr/>Max<wbr/>Batch<wbr/>Size</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#pack" class="tsd-kind-icon">pack</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#textureCacheMode" class="tsd-kind-icon">texture<wbr/>Cache<wbr/>Mode</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a name="async" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagOptional">Optional</span> async</h3><div class="tsd-signature tsd-kind-icon">async<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/microsoft/onnxruntime/blob/49b329e26/js/common/lib/env.ts#L84">env.ts:84</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Set or get whether enable async download.</p>
</div><dl class="tsd-comment-tags"><dt>defaultvalue</dt><dd><p><code>false</code></p>
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a name="contextId" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagOptional">Optional</span> context<wbr/>Id</h3><div class="tsd-signature tsd-kind-icon">context<wbr/>Id<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;webgl&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;webgl2&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/microsoft/onnxruntime/blob/49b329e26/js/common/lib/env.ts#L60">env.ts:60</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Set or get the WebGL Context ID (webgl or webgl2).</p>
</div><dl class="tsd-comment-tags"><dt>defaultvalue</dt><dd><p><code>&#39;webgl2&#39;</code></p>
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a name="matmulMaxBatchSize" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagOptional">Optional</span> matmul<wbr/>Max<wbr/>Batch<wbr/>Size</h3><div class="tsd-signature tsd-kind-icon">matmul<wbr/>Max<wbr/>Batch<wbr/>Size<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/microsoft/onnxruntime/blob/49b329e26/js/common/lib/env.ts#L66">env.ts:66</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Set or get the maximum batch size for matmul. 0 means to disable batching.</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd></dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a name="pack" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagOptional">Optional</span> pack</h3><div class="tsd-signature tsd-kind-icon">pack<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/microsoft/onnxruntime/blob/49b329e26/js/common/lib/env.ts#L78">env.ts:78</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Set or get the packed texture mode</p>
</div><dl class="tsd-comment-tags"><dt>defaultvalue</dt><dd><p><code>false</code></p>
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a name="textureCacheMode" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagOptional">Optional</span> texture<wbr/>Cache<wbr/>Mode</h3><div class="tsd-signature tsd-kind-icon">texture<wbr/>Cache<wbr/>Mode<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;initializerOnly&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;full&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/microsoft/onnxruntime/blob/49b329e26/js/common/lib/env.ts#L72">env.ts:72</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Set or get the texture cache mode.</p>
</div><dl class="tsd-comment-tags"><dt>defaultvalue</dt><dd><p><code>&#39;full&#39;</code></p>
</dd></dl></div></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Exports</a></li><li class="current tsd-kind-namespace"><a href="../modules/Env.html">Env</a></li><li class=" tsd-kind-namespace"><a href="../modules/InferenceSession.html">Inference<wbr/>Session</a></li><li class=" tsd-kind-namespace"><a href="../modules/Tensor.html">Tensor</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="Env.WebGLFlags.html" class="tsd-kind-icon">WebGLFlags</a><ul><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#async" class="tsd-kind-icon">async</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#contextId" class="tsd-kind-icon">context<wbr/>Id</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#matmulMaxBatchSize" class="tsd-kind-icon">matmul<wbr/>Max<wbr/>Batch<wbr/>Size</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#pack" class="tsd-kind-icon">pack</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="Env.WebGLFlags.html#textureCacheMode" class="tsd-kind-icon">texture<wbr/>Cache<wbr/>Mode</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>