计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
convert-models【效率与协作】Convert PyTorch, TensorFlow, MIL, scikit-learn, XGBoost, LightGBM, and LibSVM models to Core ML with coremltools.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to convert a trained source model or source-model artifact into a Core ML MLModel using coremltools.
ct.convert(...) for PyTorch, TensorFlow, and MIL source programs.ct.TensorType, ct.ImageType, flexible shapes, output names, and ct.ClassifierConfig.minimum_deployment_target, convert_to, compute_precision, compute_units, package_dir, skip_model_load, pass_pipeline, and PyTorch states.MLModel metadata editing, compiled models, or platform-specific prediction setup: route to model-io-and-prediction.pass_pipeline choices.ct.convert for PyTorch, TensorFlow, and MIL; use the classic converter namespace for scikit-learn, XGBoost, LightGBM, and LibSVM.scripts/convert_torch_toy.py: creates a tiny torch.nn.Module, traces it, converts with an explicit named TensorType, and saves a user-provided .mlpackage. It is a smoke/demo helper and is dependency-gated on both PyTorch and coremltools.Start with workflows for task recipes and API reference for argument-level constraints.