Vietnamese
Ngôn ngữ
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese



SerializableModelMixin.save

SerializableModelMixin.save(file_name)[source]

Saves this model to the specified file. Internally, the model is serialized via dill. All parameters are saved, including a quantum instance that is referenced by internal objects. That means if a model is loaded from a file and is used, for instance, for inference, the same quantum instance and a corresponding backend will be used even if a cloud backend was used.

Tham số:

file_name (str) -- a file name or path where to save the model.

Kiểu trả về:

None