MPSGraphBuilder builds an MPSGraph instance from a .mlmodel format file.
This project was terminated since mpsgraphtool in macOS Sonoma is for you.
Many layers are not tested, just implemented.
brew install swift-protobuf
make preprocess
swift build- If you call "run" method of MPSGraph repeatedly, you need wrap the proper part with autoreleasepool even in Swift.