onnxruntime/docs/api/objectivec/Classes/ORTCoreMLExecutionProviderOptions.html
Cassie a0f3e30de6
Docs update: updated nav, get started sections, home page, apis (#9060)
* initial setup and rename "how to" to "setup"

* move API to main nav

* move api to main nav

* add get starated, rework nav order

* rename to install move mds out of install section

* update api nav and home page

* add install docs and python qs updates

* python get started work

* remove c and obj c for now

* move java, python, and obj-c docs under api folder

* move java api html to iframe (ugh)

* remove api docs w/o details, move api text getstar

* remove api docs wo detail updates get started

* remvoe iframes

* move eco system to main nav

* fix api buttons

* added more examples moved intro to ORT

* fix links

* fix get started titles

* fix get started titles

* fix more links

* fix more links

* more link fixes

* fix nav remove inferencing and training subnav

* fix top nav remove inference and training nav

* fix title

* fix tutorials nav hierarchy

* fix python api button

* add tenorflow keras example

* fix quickstart toc

* add imports fix spacing

* fix links

* update nav and python get started page

* move ort training example, add coming soon for iot

* update C# get started

* fix spacing on quantization

* Add some js get started content

* fix formatting

* fix typo

* removed onnx-pytorch and onnx-tf

* updated pip install torch and added links iot page

* added pytorch tutorial heirarchy

* updated web to docs soon added release blog link

* add web link
2021-09-15 16:23:42 -05:00

226 lines
11 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>ORTCoreMLExecutionProviderOptions Class Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
<script src="../js/lunr.min.js" defer></script>
<script src="../js/typeahead.jquery.js" defer></script>
<script src="../js/jazzy.search.js" defer></script>
</head>
<body>
<a name="//apple_ref/objc/Class/ORTCoreMLExecutionProviderOptions" class="dashAnchor"></a>
<a title="ORTCoreMLExecutionProviderOptions Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">ONNX Runtime Objective-C API 1.8.1 Docs</a></p>
<p class="header-right"><a href="https://github.com/microsoft/onnxruntime"><img src="../img/gh.png"/>View on GitHub</a></p>
<p class="header-right">
<form role="search" action="../search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
</form>
</p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html">ONNX Runtime Objective-C API Reference</a>
<img id="carat" src="../img/carat.png" />
ORTCoreMLExecutionProviderOptions Class Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/ORTCoreMLExecutionProviderOptions.html">ORTCoreMLExecutionProviderOptions</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ORTEnv.html">ORTEnv</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ORTRunOptions.html">ORTRunOptions</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ORTSession.html">ORTSession</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ORTSessionOptions.html">ORTSessionOptions</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ORTTensorTypeAndShapeInfo.html">ORTTensorTypeAndShapeInfo</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ORTValue.html">ORTValue</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ORTValueTypeInfo.html">ORTValueTypeInfo</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enumerations</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/ORTGraphOptimizationLevel.html">ORTGraphOptimizationLevel</a>
</li>
<li class="nav-group-task">
<a href="../Enums/ORTLoggingLevel.html">ORTLoggingLevel</a>
</li>
<li class="nav-group-task">
<a href="../Enums/ORTTensorElementDataType.html">ORTTensorElementDataType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/ORTValueType.html">ORTValueType</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Functions.html">Functions</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Functions.html#/c:@F@ORTIsCoreMLExecutionProviderAvailable">ORTIsCoreMLExecutionProviderAvailable</a>
</li>
</ul>
</li>
</ul>
</nav>
<article class="main-content">
<section>
<section class="section">
<h1>ORTCoreMLExecutionProviderOptions</h1>
<div class="declaration">
<div class="language">
<p class="aside-title">Objective-C</p>
<pre class="highlight objective_c"><code><span class="k">@interface</span> <span class="nc">ORTCoreMLExecutionProviderOptions</span> <span class="p">:</span> <span class="nc">NSObject</span></code></pre>
</div>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">class</span> <span class="kt">ORTCoreMLExecutionProviderOptions</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>
</div>
</div>
<p>Options for configuring the CoreML execution provider.</p>
</section>
<section class="section task-group-section">
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
<a name="/c:objc(cs)ORTCoreMLExecutionProviderOptions(py)useCPUOnly"></a>
<a name="//apple_ref/objc/Property/useCPUOnly" class="dashAnchor"></a>
<a class="token" href="#/c:objc(cs)ORTCoreMLExecutionProviderOptions(py)useCPUOnly">useCPUOnly</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Whether the CoreML execution provider should run on CPU only.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Objective-C</p>
<pre class="highlight objective_c"><code><span class="k">@property</span> <span class="n">BOOL</span> <span class="n">useCPUOnly</span><span class="p">;</span></code></pre>
</div>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">useCPUOnly</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/c:objc(cs)ORTCoreMLExecutionProviderOptions(py)enableOnSubgraphs"></a>
<a name="//apple_ref/objc/Property/enableOnSubgraphs" class="dashAnchor"></a>
<a class="token" href="#/c:objc(cs)ORTCoreMLExecutionProviderOptions(py)enableOnSubgraphs">enableOnSubgraphs</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Whether the CoreML execution provider is enabled on subgraphs.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Objective-C</p>
<pre class="highlight objective_c"><code><span class="k">@property</span> <span class="n">BOOL</span> <span class="n">enableOnSubgraphs</span><span class="p">;</span></code></pre>
</div>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">enableOnSubgraphs</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>
</div>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/c:objc(cs)ORTCoreMLExecutionProviderOptions(py)onlyEnableForDevicesWithANE"></a>
<a name="//apple_ref/objc/Property/onlyEnableForDevicesWithANE" class="dashAnchor"></a>
<a class="token" href="#/c:objc(cs)ORTCoreMLExecutionProviderOptions(py)onlyEnableForDevicesWithANE">onlyEnableForDevicesWithANE</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Whether the CoreML execution provider is only enabled for devices with Apple
Neural Engine (ANE).</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Objective-C</p>
<pre class="highlight objective_c"><code><span class="k">@property</span> <span class="n">BOOL</span> <span class="n">onlyEnableForDevicesWithANE</span><span class="p">;</span></code></pre>
</div>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">onlyEnableForDevicesWithANE</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
</section>
</section>
<section id="footer">
<p>&copy; 2021 <a class="link" href="https://www.onnxruntime.ai" target="_blank" rel="external">ONNX Runtime Authors</a>. All rights reserved. (Last updated: 2021-07-07)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.7</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
</body>
</div>
</html>