协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
mil-and-debugging【开发与工程】Advanced coremltools MIL Builder, pass pipeline, custom op, typed execution, and debugging workflows for isolating conversion and runtime failures.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about advanced coremltools internals rather than an ordinary framework-to-Core ML recipe:
input_specs, op names, dtypes, and shapes.MLModelInspector, MLModelValidator, MLModelComparator, Torch comparators, or submodel extraction to isolate conversion/runtime failures.Do not use this sub-skill for routine conversion recipes; route those to the sibling convert-models sub-skill. Route saved-model loading, artifact metadata, prediction, and packaging operations to model-io-and-prediction. Route palettization, pruning, quantization, and compression workflows to optimize-models.
--help, then choose --convert-to mlprogram or --convert-to neuralnetwork based on the backend under investigation.python scripts/mil_smoke.py --convert-to mlprogram --output mil_smoke.mlpackage
python scripts/mil_smoke.py --convert-to neuralnetwork --output mil_smoke.mlmodel
The smoke script intentionally avoids prediction by default because Core ML prediction and intermediate-output retrieval are runtime-dependent and commonly require macOS or configured remote-device support.