verticapy.machine_learning.vertica.PMMLModel.to_tf#
- PMMLModel.to_tf(path: str)#
Exports the model to the Frozen Graph format (TensorFlow).
Parameters#
- path: str
Absolute path of an output directory to store the exported models.
Warning
This function operates solely on the server side and is not accessible locally. The
path
provided should match the location where the file(s) will be exported on the server.
Returns#
- bool
True
if the model was successfully exported.
Examples#
Let’s consider we’ve fitted a tensorflow model
model
.You can export it easily to frozen graph by using:
model.to_tf(path = 'server_location')
Warning
This function operates solely on the server side and is not accessible locally.