好网站,从官网开始
企业认领/联系与合作
官网导航 提交官网
K

Keras官网

Python版本的TensorFlow深度学习API

官网资料

网站名称
Keras
身份核实
尚未完成企业认领核实
最近更新
链接检测
尚未检测

关于 Keras

Keras: The multi-backend deep learning library About Keras Getting started Developer guides Code examples Keras 3 API documentation Keras 2 API documentation KerasHub: Pretrained Models Keras RS KerasTuner: Hyperparam Tuning GET STARTED GUIDES API EXAMPLES KERAS HUB KERAS RS KERAS TUNER NEW: GEMMA 4 NOW IN KERASHUB A superpower for ML developers Keras 3 is the high-level API for building, training, and shipping models on the backend of your choice: JAX, PyTorch, MLX, and more. GET STARTED TRY GEMMA IN KERASHUB API DOCS Copied inputs = keras.Input(shape=(32, 32, 3)) x = layers.Conv2D(32, 3, activation="relu")(inputs) x = layers.Conv2D(64, 3, activation="relu")(x) residual = x = layers.MaxPooling2D(3)(x) x = layers.Conv2D(64, 3, padding="same")(x) x = layers.Activation("relu")(x) x = layers.Conv2D(64, 3, padding="same")(x) x = layers.Activation("relu")(x) x = x + residual x = layers.Conv2D(64, 3, activation="relu")(x) x = layers.GlobalAveragePooling2D()(x) outputs = layers.Dense(10, activation="softmax")(x) model = keras.Model(inputs, outputs, name="mini_resnet") keras.utils.plot_model(model, "mini_resnet.png") model.fit(dataset, epochs=10) Run quickstart Copied causal_lm = keras_hub.models.CausalLM.from_preset( "gemma4_instruct_2b", dtype="bfloat16", ) prompt = """<|turn>user Write python code to print the first 100 primes.<turn|> <|turn>model """ text_output = causal_lm.generate(prompt, max_length=512) text_to_image = keras_hub.models.TextToImage.from_preset( "stable_diffusion_3_medium", dtype="float16", ) prompt = "Astronaut in a jungle, detailed" image_output = text_to_image.generate(prompt) Run quickstart Welcome to multi-framework machine learning With its multi-backend approach, Keras gives you the freedom to work with JAX, TensorFlow, and PyTorch. Build models that can move seamlessly across these frameworks and leverage the strengths of each ecosystem. GET STARTED Developer Guides VIEW ALL Copied inputs = keras.Input(shape=(28, 28, 1)) x = inputs x = layers.Conv2D(16, 3, activation="relu")(x) x = layers.Conv2D(32, 3, activation="relu")(x) x = layers.MaxPooling2D(3)(x) x = layers.Conv2D(32, 3, activation="relu")(x) x = layers.Conv2D(16, 3, activation="relu")(x) x = layers.GlobalMaxPooling2D()(x) x = layers.Dropout(0.5)(x) outputs = layers.Dense(10)(x) model = keras.Model(inputs, outputs) model.summary() The Functional API Starting from the beginning and learn how to build models using the functional building pattern. VIEW GUIDE Copied model.compile(

访问提示

本站仅提供官网信息与访问导航,不代表对该网站的产品、服务或交易作出担保。访问外部网站时,请核对网址,注意账号和财产安全。

同类型网站 366

查看分类

AutoGPT 是面向自主智能体的开源平台,支持用自然语言或可视化流程创建、运行和管理能够持续执行任务的智能体。

支持多 AI Agent 框架的可视化管理面板,支持 OpenClaw 和 Hermes Agent 双引擎,内置智能助手一键安装诊断

让更多人找到你的官网

提交网站信息,建立清晰、完整的官网资料。

免费提交官网

咨询提交、推广、认领

客服微信二维码,长按识别或保存后使用微信扫一扫

扫一扫添加微信,沟通官网导航提交、认领、推广需求。

可长按识别,或保存图片后在微信扫一扫中识别。

添加时可备注“官网导航”,便于沟通您的企业需求。

保存二维码 打开原图