init(package:descriptor:)
Initialize the executable with the Metal Performance Shaders Graph package at the provided URL.
Declaration
init(package mpsgraphPackageURL: URL, descriptor compilationDescriptor: MPSGraphCompilationDescriptor?)Parameters
- mpsgraphPackageURL:
The URL where to read the serialized MPSGraphExecutable.
- compilationDescriptor:
Compilation descriptor to be used to specialize, since the executable was created with a compilationDescriptor already this one overrides those settings to the extent it can.