Model.predict(X, output_names=None)

Predict by applying the model on the given input data.

  • X – Input data. It follows the same format as in the fit method.

  • output_names – Names of required outputs (optional). You can specify any final or intermediate output by passing the name of its associated data placeholder. This is useful for debugging. If not specified, it will return the outputs specified at instantiation.


array-like or list of array-like – The computed outputs.