Back to Tensorflow

tflite_support.metadata_schema_py_generated.RegexTokenizerOptions

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

2.21.04.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.RegexTokenizerOptions" /> <meta itemprop="path" content="Stable" /> <meta itemprop="property" content="DelimRegexPattern"/> <meta itemprop="property" content="GetRootAs"/> <meta itemprop="property" content="GetRootAsRegexTokenizerOptions"/> <meta itemprop="property" content="Init"/> <meta itemprop="property" content="RegexTokenizerOptionsBufferHasIdentifier"/> <meta itemprop="property" content="VocabFile"/> <meta itemprop="property" content="VocabFileIsNone"/> <meta itemprop="property" content="VocabFileLength"/> </div>

tflite_support.metadata_schema_py_generated.RegexTokenizerOptions

<!-- 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#L1556-L1607">
View source on GitHub
</a> </td> </table> <!-- Placeholder for "Used in" -->

Methods

<h3 id="DelimRegexPattern"><code>DelimRegexPattern</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#L1579-L1583">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>DelimRegexPattern() </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#L1559-L1564">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="GetRootAsRegexTokenizerOptions"><code>GetRootAsRegexTokenizerOptions</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#L1566-L1569">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>GetRootAsRegexTokenizerOptions( 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#L1575-L1576">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>Init( buf, pos ) </code></pre> <h3 id="RegexTokenizerOptionsBufferHasIdentifier"><code>RegexTokenizerOptionsBufferHasIdentifier</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#L1570-L1572">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>@classmethod</code> <code>RegexTokenizerOptionsBufferHasIdentifier( buf, offset, size_prefixed=False ) </code></pre> <h3 id="VocabFile"><code>VocabFile</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#L1586-L1595">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>VocabFile( j ) </code></pre> <h3 id="VocabFileIsNone"><code>VocabFileIsNone</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#L1605-L1607">View source</a>

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>VocabFileIsNone() </code></pre> <h3 id="VocabFileLength"><code>VocabFileLength</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#L1598-L1602">View source</a>

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