网页 综合 更新时间 2026-11-15 00:14:31

Models API

自动蜘蛛 keras.io 正文约 2405 字
Models API
None Getting started Developer guides Code examples Keras 3 API documentation Models API The Model class The Sequential class Model training APIs Saving & serialization Knowledge distillation Layers API Callbacks API Ops API Optimizers Metrics Losses Data loading Tree API Built-in small datasets Keras Applications Mixed precision Multi-device distribution RNG API Quantizers Scope Rematerialization Utilities Keras 2 API documentation KerasTuner: Hyperparam Tuning KerasHub: Pretrained Models KerasRS Get started Guides API Examples Keras Hub Keras RS Keras Tuner Keras 3 API documentation Models API The Model class The Sequential class Model training APIs Saving & serialization Knowledge distillation Layers API Callbacks API Ops API Optimizers Metrics Losses Data loading Tree API Built-in small datasets Keras Applications Mixed precision Multi-device distribution RNG API Quantizers Scope Rematerialization Utilities Keras 2 API documentation ► Keras 3 API documentation / Models API Models API There are three ways to create Keras models: The Sequential model, which is very straightforward (a simple list of layers), but is limited to single-input, single-output stacks of layers (as the name gives away). The Functional API, which is an easy-to-use, fully-featured API that supports arbitrary model architectures. For most people and most use cases, this is what you should be using. This is the Keras "industry strength" model. Model subclassing, where you implement everything from scratch on your own. Use this if you have complex, out-of-the-box research use cases. Models API overview The Model class Model class KerasTensor class summary method get_layer method get_state_tree method set_state_tree method quantize method The Sequential class Sequential class add method pop method Model training APIs compile method fit method evaluate method predict method train_on_batch method test_on_batch method predict_on_batch method History class Saving & serialization Whole model saving & loading Weights-only saving & loading Model config serialization Model export for inference Serialization utilities Keras weights file editor Knowledge distillation Distiller model Base distillation loss Logits distillation loss Feature distillation loss Models API Models API overview The Model class The Sequential class Model training APIs Saving & serialization Knowledge distillation Terms | Privacy
访问原文 返回搜索 https://keras.io/api/models/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。