Crate mpsgraph Copy item path Source CommandBuffer CompilationDescriptor ComputeDevice ControlFlowDependencyBlock The scope where all the operations defined in this block get control-dependency operations. Convolution2DOpDescriptor A class that describes the properties of a 2D-convolution operator. Convolution3DOpDescriptor A class that describes the properties of a 3D-convolution operator. Device A class that describes the compute device. DimensionSlice Describes a sub-region of an array dimension Executable The compiled representation of a compute graph executable. ExecutableCompletionHandler A notification when graph executable execution finishes. ExecutableExecutionDescriptor A class that consists of all the levers to synchronize and schedule executable execution. ExecutableScheduledHandler A notification when graph executable execution schedules. ExecutableSerializationDescriptor A class that consists of all the levers to serialize an executable. ExecutionDescriptor ForLoopBodyBlock A block for the body of the for loop. Graph The optimized representation of a compute graph of operations and tensors. GraphObject The common base class for all Metal Performance Shaders Graph objects. GraphType The base type class for types on tensors. GraphVariableOp Defines a variable operation within a graph. IfThenElseBlock A block of operations executed under either the if or else condition. ImageCoordinate A unsigned coordinate with x, y and channel components ImageRegion A rectangular subregion of a MPSImage KernelOptions Apple’s documentation MPSOffset A signed coordinate with x, y and z components Operation A symbolic representation of a compute operation. Origin A position in an image Region A region of an image ScaleTransform Transform matrix for explict control over resampling in MPSImageScale. ShapedType The shaped type class for types on tensors with a shape and data type. Size A size of a region in an image Tensor The symbolic representation of a compute data type. TensorData The representation of a compute data type. WhileAfterBlock The block that executes after the condition evaluates for each iteration. WhileBeforeBlock The block that executes before the condition evaluates for each iteration. AliasingStrategy AxesOrTensor CommandBufferStatus Command buffer status DataType DeploymentPlatform Represents the deployment platform for a graph DequantizationArguments Arguments controlling how an integer tensor is dequantized back to
floating-point. DeviceType Device type (MPSGraphDeviceType) ExecutionStage Represents the stages of execution for a graph FloatDataTypeBit FloatDataTypeShift GraphOptions ImageFeatureChannelFormat Apple’s MPSImageFeatureChannelFormat
https://developer.apple.com/documentation/metalperformanceshaders/mpsimagefeaturechannelformat MPSImageEdgeMode Apple’s MPSImageEdgeMode
https://developer.apple.com/documentation/metalperformanceshaders/mpsimageedgemode Optimization Represents the optimization level for graph compilation OptimizationProfile Represents the optimization profile for graph compilation PaddingMode Tensor padding mode PaddingStyle Tensor padding style QuantizationArguments Arguments controlling how a floating-point tensor is quantized into an
integer representation. ReductionMode ScalarOrTensor ShapeOrTensor SizesOrTensor Defines how per-split sizes are provided to [split_tensor]. SpatialAxesBatchAxisBlockDimensionsScalarsOrTensors Helper enum for specifying spatial axes , batch axis , and block
dimensions either as plain Rust slices or as graph Tensor inputs. StartEndStrideScalarsOrTensors Represents the start , end , and stride parameters required by slice
operations. TensorNamedDataLayout WidthHeightDepthAxisScalarsOrTensors Helper enum for specifying the three axis indices required by the
space-to-depth / depth-to-space 2-D transforms. GraphScalar NSDictionaryExt Extension trait that converts an NSDictionary<K, V> back into an owned
HashMap<Retained<K>, Retained<V>>. NSNumberValue NSNumberValueExt ToNSDictionary Trait providing a conversion from a HashMap<&K, &V> to an Objective-C
NSDictionary<K, V> wrapped in Retained. ns_number_array_from_slice ns_number_array_to_boxed_slice ExecutionResult Result type for graph execution RetainedTensorDataHashMap Shape An array of NSNumbers where dimension lengths provided by the user goes from slowest moving to fastest moving dimension.
This is same order as MLMultiArray in coreML and most frameworks in Python. TensorDataDictionary TensorDataHashMap TensorShapedTypeDictionary TensorShapedTypeHashMap