Back to Tensorflow

tflite_support.task.text.BertQuestionAnswererOptions

tensorflow/lite/g3doc/api_docs/python/tflite_support/task/text/BertQuestionAnswererOptions.md

2.21.01.7 KB
Original Source

page_type: reference description: Options for the Bert question answerer task.

<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.task.text.BertQuestionAnswererOptions" /> <meta itemprop="path" content="Stable" /> <meta itemprop="property" content="__eq__"/> <meta itemprop="property" content="__init__"/> </div>

tflite_support.task.text.BertQuestionAnswererOptions

<!-- 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/python/task/text/bert_question_answerer.py#L26-L29">
View source on GitHub
</a> </td> </table>

Options for the Bert question answerer task.

<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> <code>tflite_support.task.text.BertQuestionAnswererOptions( base_options: <a href="../../../tflite_support/task/core/BaseOptions"><code>tflite_support.task.core.BaseOptions</code></a> ) </code></pre> <!-- Placeholder for "Used in" --> <!-- Tabular view --> <table class="responsive fixed orange"> <colgroup><col width="214px"><col></colgroup> <tr><th colspan="2"><h2 class="add-link">Attributes</h2></th></tr> <tr> <td> `base_options`<a id="base_options"></a> </td> <td> Dataclass field </td> </tr> </table>

Methods

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