unloadModel( )
Unloads a previously loaded model from the server. When the last model is unloaded (no more models remain), this function automatically closes the RPC connection, allowing the process to exit naturally without requiring manual cleanup.
function unloadModel(params: input): PromiseDescription
Unloads a previously loaded model from the server.
When the last model is unloaded (no more models remain), this function automatically closes the RPC connection, allowing the process to exit naturally without requiring manual cleanup.
Parameters
| Name | Type | Required? | Description |
|---|---|---|---|
params | input | ✓ | The parameters for unloading the model |
Returns
Promise