coreml-inspect

command
v0.6.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

coreml-inspect

Loads a CoreML model (.mlmodelc, .mlmodel, or .mlpackage) and prints its input/output feature schemas, multi-array/image constraints, and metadata as JSON. Uncompiled models are compiled on the fly before loading.

Usage

go run ./examples/coreml/coreml-inspect /path/to/Model.mlpackage

Or install as a prefixed binary:

go install ./examples/coreml/coreml-inspect
coreml-inspect /path/to/Model.mlmodelc

Documentation

Rendered for darwin/amd64

Overview

Command coreml-inspect loads a CoreML model and prints its description as JSON.

It accepts both compiled (.mlmodelc) and uncompiled (.mlmodel, .mlpackage) model files. Uncompiled models are compiled on the fly before loading.

Usage:

coreml-inspect <path-to-model>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL