{"library":"coremltools","type":"library","category":null,"description":"Core ML Tools is an open-source Python package developed by Apple for converting, optimizing, and validating machine learning models into Apple's Core ML format. It supports models from popular frameworks like TensorFlow, PyTorch, scikit-learn, XGBoost, and LibSVM. The library is actively maintained, with frequent releases, and is currently at version 9.0, adding support for Python 3.13, PyTorch 2.7, and new iOS/macOS deployment targets.","language":"python","status":"active","version":"9.0","tags":["machine-learning","model-conversion","apple","coreml","pytorch","tensorflow","scikit-learn","xgboost","libsvm"],"last_verified":"Thu May 21","install":[{"cmd":"pip install coremltools","imports":["import coremltools as ct","mlmodel = ct.convert(model=pytorch_model, inputs=[ct.TensorType(shape=input_shape)])","inputs=[ct.TensorType(shape=(1, 3, 224, 224))]"]}],"homepage":"https://apple.github.io/coremltools/","github":"https://github.com/apple/coremltools","docs":null,"changelog":null,"pypi":"https://pypi.org/project/coremltools/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":10.6,"avg_import_s":3.72,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/coremltools/compatibility"}}