Sequential
Sequential model groups a linear stack of layers into a TensorFlow Model. Also, it provides training and inference features on this model.
Constructors
Creates a Sequential group with inputLayer and layers.
Types
Functions
Configures the model for training.
Returns a copy of this model.
Creates a copy.
Returns the metrics and loss values for the model in test (evaluation) mode.
Trains the model for a fixed number of epochs (iterations over a dataset).
Trains the model for a fixed number of epochs (iterations over a dataset).
Trains the model for a fixed number of epochs (iterations on a dataset).
Forms the graph description in string format.
Loads variable data from .txt files.
Generates output prediction for the input sample.
Predicts labels for all observation in dataset.
Generates output prediction for the input sample using output of the predictionTensorName tensor.
Predicts and returns not only prediction but list of activations values from intermediate model layers (for visualisation or debugging purposes).
Predicts vector of probabilities instead of specific class in predict method.
Generates output predictions for the input samples. Each prediction is a vector of probabilities instead of specific class in predict method.
Generates output predictions for the input samples. Each prediction is a vector of probabilities instead of specific class in predict method.
Saves the model as graph and weights.
Returns model summary.