Back to Tensorflow

tflite_support.metadata_schema_py_generated.ProcessUnit

tensorflow/lite/g3doc/api_docs/python/tflite_support/metadata_schema_py_generated/ProcessUnit.md

2.21.03.5 KB
Original Source

page_type: reference

<link rel="stylesheet" href="/site-assets/css/style.css"> <!-- DO NOT EDIT! Automatically generated file. --> <div itemscope itemtype="http://developers.google.com/ReferenceObject"> <meta itemprop="name" content="tflite_support.metadata_schema_py_generated.ProcessUnit" /> <meta itemprop="path" content="Stable" /> <meta itemprop="property" content="GetRootAs"/> <meta itemprop="property" content="GetRootAsProcessUnit"/> <meta itemprop="property" content="Init"/> <meta itemprop="property" content="Options"/> <meta itemprop="property" content="OptionsType"/> <meta itemprop="property" content="ProcessUnitBufferHasIdentifier"/> </div>

tflite_support.metadata_schema_py_generated.ProcessUnit

<!-- Insert buttons and diff --> <table class="tfo-notebook-buttons tfo-api nocontent" align="left"> <td> <a target="_blank" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1689-L1726">
View source on GitHub
</a> </td> </table> <!-- Placeholder for "Used in" -->

Methods

<h3 id="GetRootAs"><code>GetRootAs</code></h3>

<a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1692-L1697">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>GetRootAs( buf, offset=0 ) </code></pre> <h3 id="GetRootAsProcessUnit"><code>GetRootAsProcessUnit</code></h3>

<a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1699-L1702">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>GetRootAsProcessUnit( buf, offset=0 ) </code></pre>

This method is deprecated. Please switch to GetRootAs.

<h3 id="Init"><code>Init</code></h3>

<a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1708-L1709">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>Init( buf, pos ) </code></pre> <h3 id="Options"><code>Options</code></h3>

<a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1719-L1726">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>Options() </code></pre> <h3 id="OptionsType"><code>OptionsType</code></h3>

<a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1712-L1716">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OptionsType() </code></pre> <h3 id="ProcessUnitBufferHasIdentifier"><code>ProcessUnitBufferHasIdentifier</code></h3>

<a target="_blank" class="external" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L1703-L1705">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>ProcessUnitBufferHasIdentifier( buf, offset, size_prefixed=False ) </code></pre>