maple.cmd.cli.rmv.remove_policy_cmd
- maple.cmd.cli.rmv.remove_policy_cmd(name: str = <typer.models.ArgumentInfo object>, port: int = <typer.models.OptionInfo object>, keep_weights: bool = <typer.models.OptionInfo object>) None
Remove a policy model from the system.
This command will: 1. Remove the policy from the database 2. Delete model weights from disk (unless –keep-weights is specified) 3. Stop any running containers using this policy
- Parameters:
name – Name of the policy model to remove.
version – Version identifier of the policy.
port – Daemon port number.
keep_weights – If True, keep the model weights on disk.