网页
综合
更新时间 2026-11-14 05:30:53
KerasHub Modeling API
自动蜘蛛
keras.io
正文约 440 字
The following base classes form the API for working with pretrained models through KerasHub. These base classes can be used with the from_preset() constructor to automatically instantiate a subclass with the correct model architecture, e.g. keras_hub.models.TextClassifier.from_preset("bert_base_en", num_classes=2).
For the full list of available pretrained model presets shipped directly by the Keras team, see the Pretrained Models page.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。