Turkish
Diller
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese



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.

Dönüş türü:

ndarray