Module: tf.compat.v1.keras.models
Stay organized with collections
Save and categorize content based on your preferences.
Keras models API.
Classes
class LinearModel
: Linear Model for regression and classification problems.
class Model
: Model
groups layers into an object with training and inference features.
class Sequential
: Sequential
groups a linear stack of layers into a tf.keras.Model
.
class WideDeepModel
: Wide & Deep Model for regression and classification problems.
Functions
clone_model(...)
: Clone a Functional or Sequential Model
instance.
load_model(...)
: Loads a model saved via model.save()
.
model_from_config(...)
: Instantiates a Keras model from its config.
model_from_json(...)
: Parses a JSON model configuration string and returns a model instance.
model_from_yaml(...)
: Parses a yaml model configuration file and returns a model instance.
save_model(...)
: Saves a model as a TensorFlow SavedModel or HDF5 file.
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. Some content is licensed under the numpy license.
Last updated 2022-10-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-10-28 UTC."],[],[]]