Turkish
Diller
English
Bengali
French
Hindi
Japanese
Korean
Russian
Spanish
Tamil
Turkish



TrainableModel.weights

property TrainableModel.weights: ndarray

Returns trained weights as a numpy array. The weights can be also queried by calling model.fit_result.x, but in this case their representation depends on the optimizer used.

Harekete geçirir:

QiskitMachineLearningError – If the model has not been fit.