Common Signatures for TF Hub Modules
Stay organized with collections
Save and categorize content based on your preferences.
Introduction
TensorFlow Hub hosts models for a variety of tasks. Models
for the same task are encouraged to implement a common API so that model
consumers can easily exchange them without modifying the code that uses them,
even if they come from different publishers.
The goal is to make exchanging different models for the same task as simple as
switching a string-valued hyperparameter. With that, model consumers can easily
find the best one for their problem.
This directory collects specifications of common signatures for modules in the
TF1 Hub format.
Note that the TF1 Hub format has been deprecated in favor of the
TF2 SavedModel format and its
Common SavedModel APIs.
Signatures
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-07 UTC.
[null,null,["Last updated 2023-10-07 UTC."],[],[],null,["# Common Signatures for TF Hub Modules\n\n\u003cbr /\u003e\n\nIntroduction\n------------\n\n[TensorFlow Hub](https://tfhub.dev) hosts models for a variety of tasks. Models\nfor the same task are encouraged to implement a common API so that model\nconsumers can easily exchange them without modifying the code that uses them,\neven if they come from different publishers.\n\nThe goal is to make exchanging different models for the same task as simple as\nswitching a string-valued hyperparameter. With that, model consumers can easily\nfind the best one for their problem.\n\nThis directory collects specifications of common signatures for modules in the\n[TF1 Hub format](../tf1_hub_module).\n\nNote that the TF1 Hub format has been **deprecated** in favor of the\n[TF2 SavedModel format](../tf2_saved_model) and its\n[Common SavedModel APIs](../common_saved_model_apis/index).\n\nSignatures\n----------\n\n- [Image Signatures](/hub/common_signatures/images)\n- [Text Signatures](/hub/common_signatures/text)"]]