tensorflow/lite/g3doc/api_docs/python/tflite_support/metadata_schema_py_generated/SubGraphMetadata.md
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.SubGraphMetadata" /> <meta itemprop="path" content="Stable" /> <meta itemprop="property" content="AssociatedFiles"/> <meta itemprop="property" content="AssociatedFilesIsNone"/> <meta itemprop="property" content="AssociatedFilesLength"/> <meta itemprop="property" content="CustomMetadata"/> <meta itemprop="property" content="CustomMetadataIsNone"/> <meta itemprop="property" content="CustomMetadataLength"/> <meta itemprop="property" content="Description"/> <meta itemprop="property" content="GetRootAs"/> <meta itemprop="property" content="GetRootAsSubGraphMetadata"/> <meta itemprop="property" content="Init"/> <meta itemprop="property" content="InputProcessUnits"/> <meta itemprop="property" content="InputProcessUnitsIsNone"/> <meta itemprop="property" content="InputProcessUnitsLength"/> <meta itemprop="property" content="InputTensorGroups"/> <meta itemprop="property" content="InputTensorGroupsIsNone"/> <meta itemprop="property" content="InputTensorGroupsLength"/> <meta itemprop="property" content="InputTensorMetadata"/> <meta itemprop="property" content="InputTensorMetadataIsNone"/> <meta itemprop="property" content="InputTensorMetadataLength"/> <meta itemprop="property" content="Name"/> <meta itemprop="property" content="OutputProcessUnits"/> <meta itemprop="property" content="OutputProcessUnitsIsNone"/> <meta itemprop="property" content="OutputProcessUnitsLength"/> <meta itemprop="property" content="OutputTensorGroups"/> <meta itemprop="property" content="OutputTensorGroupsIsNone"/> <meta itemprop="property" content="OutputTensorGroupsLength"/> <meta itemprop="property" content="OutputTensorMetadata"/> <meta itemprop="property" content="OutputTensorMetadataIsNone"/> <meta itemprop="property" content="OutputTensorMetadataLength"/> <meta itemprop="property" content="SubGraphMetadataBufferHasIdentifier"/> </div>View source on GitHub
<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#L2583-L2592">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>AssociatedFiles( j ) </code></pre> <h3 id="AssociatedFilesIsNone"><code>AssociatedFilesIsNone</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#L2602-L2604">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>AssociatedFilesIsNone() </code></pre> <h3 id="AssociatedFilesLength"><code>AssociatedFilesLength</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#L2595-L2599">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>AssociatedFilesLength() </code></pre> <h3 id="CustomMetadata"><code>CustomMetadata</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#L2703-L2712">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>CustomMetadata( j ) </code></pre> <h3 id="CustomMetadataIsNone"><code>CustomMetadataIsNone</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#L2722-L2724">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>CustomMetadataIsNone() </code></pre> <h3 id="CustomMetadataLength"><code>CustomMetadataLength</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#L2715-L2719">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>CustomMetadataLength() </code></pre> <h3 id="Description"><code>Description</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#L2528-L2532">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>Description() </code></pre> <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#L2501-L2506">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="GetRootAsSubGraphMetadata"><code>GetRootAsSubGraphMetadata</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#L2508-L2511">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>GetRootAsSubGraphMetadata( 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#L2517-L2518">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>Init( buf, pos ) </code></pre> <h3 id="InputProcessUnits"><code>InputProcessUnits</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#L2607-L2616">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputProcessUnits( j ) </code></pre> <h3 id="InputProcessUnitsIsNone"><code>InputProcessUnitsIsNone</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#L2626-L2628">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputProcessUnitsIsNone() </code></pre> <h3 id="InputProcessUnitsLength"><code>InputProcessUnitsLength</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#L2619-L2623">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputProcessUnitsLength() </code></pre> <h3 id="InputTensorGroups"><code>InputTensorGroups</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#L2655-L2664">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputTensorGroups( j ) </code></pre> <h3 id="InputTensorGroupsIsNone"><code>InputTensorGroupsIsNone</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#L2674-L2676">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputTensorGroupsIsNone() </code></pre> <h3 id="InputTensorGroupsLength"><code>InputTensorGroupsLength</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#L2667-L2671">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputTensorGroupsLength() </code></pre> <h3 id="InputTensorMetadata"><code>InputTensorMetadata</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#L2535-L2544">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputTensorMetadata( j ) </code></pre> <h3 id="InputTensorMetadataIsNone"><code>InputTensorMetadataIsNone</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#L2554-L2556">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputTensorMetadataIsNone() </code></pre> <h3 id="InputTensorMetadataLength"><code>InputTensorMetadataLength</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#L2547-L2551">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>InputTensorMetadataLength() </code></pre> <h3 id="Name"><code>Name</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#L2521-L2525">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>Name() </code></pre> <h3 id="OutputProcessUnits"><code>OutputProcessUnits</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#L2631-L2640">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputProcessUnits( j ) </code></pre> <h3 id="OutputProcessUnitsIsNone"><code>OutputProcessUnitsIsNone</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#L2650-L2652">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputProcessUnitsIsNone() </code></pre> <h3 id="OutputProcessUnitsLength"><code>OutputProcessUnitsLength</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#L2643-L2647">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputProcessUnitsLength() </code></pre> <h3 id="OutputTensorGroups"><code>OutputTensorGroups</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#L2679-L2688">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputTensorGroups( j ) </code></pre> <h3 id="OutputTensorGroupsIsNone"><code>OutputTensorGroupsIsNone</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#L2698-L2700">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputTensorGroupsIsNone() </code></pre> <h3 id="OutputTensorGroupsLength"><code>OutputTensorGroupsLength</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#L2691-L2695">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputTensorGroupsLength() </code></pre> <h3 id="OutputTensorMetadata"><code>OutputTensorMetadata</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#L2559-L2568">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputTensorMetadata( j ) </code></pre> <h3 id="OutputTensorMetadataIsNone"><code>OutputTensorMetadataIsNone</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#L2578-L2580">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputTensorMetadataIsNone() </code></pre> <h3 id="OutputTensorMetadataLength"><code>OutputTensorMetadataLength</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#L2571-L2575">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>OutputTensorMetadataLength() </code></pre> <h3 id="SubGraphMetadataBufferHasIdentifier"><code>SubGraphMetadataBufferHasIdentifier</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#L2512-L2514">View source</a>
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>SubGraphMetadataBufferHasIdentifier( buf, offset, size_prefixed=False ) </code></pre>