Back to Tensorflow

Module: tflite_model_maker.searcher

tensorflow/lite/g3doc/api_docs/python/tflite_model_maker/searcher.md

2.21.02.0 KB
Original Source

page_type: reference description: APIs to create the searcher model.

<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_model_maker.searcher" /> <meta itemprop="path" content="Stable" /> </div>

Module: tflite_model_maker.searcher

<!-- Insert buttons and diff --> <table class="tfo-notebook-buttons tfo-api nocontent" align="left"> <td> <a target="_blank" href="https://github.com/tensorflow/examples/blob/tflmm/v0.4.2/tensorflow_examples/lite/model_maker/public/searcher/__init__.py">
View source on GitHub
</a> </td> </table>

APIs to create the searcher model.

Task guide:

<a href="https://www.tensorflow.org/lite/tutorials/model_maker_text_searcher">https://www.tensorflow.org/lite/tutorials/model_maker_text_searcher</a>

Classes

class DataLoader: Base DataLoader class for Searcher task.

class ExportFormat: An enumeration.

class ImageDataLoader: DataLoader class for Image Searcher Task.

class MetadataType: An enumeration.

class ScaNNOptions: Options to build ScaNN.

class ScoreAH: Product Quantization (PQ) based in-partition scoring configuration.

class ScoreBruteForce: Bruce force in-partition scoring configuration.

class Searcher: Creates the similarity search model with ScaNN.

class TextDataLoader: DataLoader class for Text Searcher.

class Tree: K-Means partitioning tree configuration.