Expand description
§Bindings to the MetalPerformanceShadersGraph framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- MPSGraph
MPSGraphandMPSGraphCore - The optimized representation of a compute graph of operations and tensors.
- MPSGraph
Compilation Descriptor MPSGraphandMPSGraphCore - A class that consists of all the levers for compiling graphs.
- MPSGraph
Convolution2D OpDescriptor MPSGraphConvolutionOpsandMPSGraphCore - A class that describes the properties of a 2D-convolution operator.
- MPSGraph
Convolution3D OpDescriptor MPSGraphConvolutionOpsandMPSGraphCore - A class that describes the properties of a 3D-convolution operator.
- MPSGraph
Create Sparse OpDescriptor MPSGraphCoreandMPSGraphSparseOps - A class that describes the properties of a create sparse operation.
- MPSGraph
Deployment Platform MPSGraphExecutable - The options available to a graph.
- MPSGraph
Depthwise Convolution2D OpDescriptor MPSGraphCoreandMPSGraphDepthwiseConvolutionOps - A class that defines the parameters for a 2D-depthwise convolution operation.
- MPSGraph
Depthwise Convolution3D OpDescriptor MPSGraphCoreandMPSGraphDepthwiseConvolutionOps - The class that defines the parameters for a 3D-depthwise convolution operation.
- MPSGraph
Device MPSGraphCoreandMPSGraphDevice - A class that describes the compute device.
- MPSGraph
Device Type MPSGraphDevice - The device type.
- MPSGraph
Executable MPSGraphCoreandMPSGraphExecutable - The compiled representation of a compute graph executable.
- MPSGraph
Executable Execution Descriptor MPSGraphCoreandMPSGraphExecutable - A class that consists of all the levers to synchronize and schedule executable execution.
- MPSGraph
Executable Serialization Descriptor MPSGraphCoreandMPSGraphExecutable - A class that consists of all the levers to serialize an executable.
- MPSGraph
Execution Descriptor MPSGraphandMPSGraphCore - A class that consists of all the levers to synchronize and schedule graph execution.
- MPSGraph
Execution Stage MPSGraph - Execution events that can be used with shared events.
- MPSGraphFFT
Descriptor MPSGraphCoreandMPSGraphFourierTransformOps - The class that defines the parameters for a fast Fourier transform (FFT) operation.
- MPSGraphFFT
Scaling Mode MPSGraphFourierTransformOps - The scaling modes for Fourier transform operations.
- MPSGraphGRU
Descriptor MPSGraphCoreandMPSGraphRNNOps - The class that defines the parameters for a gated recurrent unit (GRU) operation.
- MPSGraph
ImTo ColOp Descriptor MPSGraphCoreandMPSGraphImToColOps - The class that defines the parameters for an image to column or column to image operation.
- MPSGraphLSTM
Descriptor MPSGraphCoreandMPSGraphRNNOps - The class that defines the parameters for a long short-term memory (LSTM) operation.
- MPSGraph
Loss Reduction Type MPSGraphLossOps - The type of the reduction the graph applies in the loss operations.
- MPSGraph
NonMaximum Suppression Coordinate Mode MPSGraphNonMaximumSuppressionOps - The non-maximum suppression coordinate mode.
- MPSGraph
Object MPSGraphCore - The common base class for all Metal Performance Shaders Graph objects.
- MPSGraph
Operation MPSGraphCoreandMPSGraphOperation - A symbolic representation of a compute operation.
- MPSGraph
Optimization MPSGraph - The optimization levels to trade compilation time for even more runtime performance by running more passes.
- MPSGraph
Optimization Profile MPSGraph - The optimization profile used as a heuristic as the graph compiler optimizes the network.
- MPSGraph
Options MPSGraph - The options available to a graph.
- MPSGraph
Padding Mode MPSGraphCore - The tensor padding mode.
- MPSGraph
Padding Style MPSGraphCore - The tensor padding style.
- MPSGraph
Pooling2D OpDescriptor MPSGraphCoreandMPSGraphPoolingOps - The class that defines the parameters for a 2D pooling operation.
- MPSGraph
Pooling4D OpDescriptor MPSGraphCoreandMPSGraphPoolingOps - The class that defines the parameters for a 4D pooling operation.
- MPSGraph
Pooling Return Indices Mode MPSGraphPoolingOps - The flattening mode for returned indices with max-pooling.
- MPSGraphRNN
Activation MPSGraphRNNOps - The activation modes for RNN operations.
- MPSGraph
Random Distribution MPSGraphRandomOps - The distributions supported by random operations.
- MPSGraph
Random Normal Sampling Method MPSGraphRandomOps - The sampling method to use when generating values in the normal distribution.
- MPSGraph
Random OpDescriptor MPSGraphCoreandMPSGraphRandomOps - A class that describes the random operation.
- MPSGraph
Reduced Precision Fast Math MPSGraph - MPSGraph could use these reduced precision paths to deliver faster math, but it is not guaranteed.
- MPSGraph
Reduction Mode MPSGraphCore - The reduction mode.
- MPSGraph
Resize Mode MPSGraphResizeOps - The resize mode to use for resizing.
- MPSGraph
Resize Nearest Rounding Mode MPSGraphResizeOps - The rounding mode to use when using nearest resize mode.
- MPSGraph
Scatter Mode MPSGraphScatterNDOps - The scatter mode.
- MPSGraph
Shaped Type MPSGraphCore - The shaped type class for types on tensors with a shape and data type.
- MPSGraph
Single GateRNN Descriptor MPSGraphCoreandMPSGraphRNNOps - The class that defines the parameters for a single gate RNN operation.
- MPSGraph
Sparse Storage Type MPSGraphSparseOps - The sparse storage options in the Metal Performance Shaders Graph framework.
- MPSGraph
Stencil OpDescriptor MPSGraphCoreandMPSGraphStencilOps - The class that defines the parameters for a stencil operation.
- MPSGraph
Tensor MPSGraphCoreandMPSGraphTensor - The symbolic representation of a compute data type.
- MPSGraph
Tensor Data MPSGraphCoreandMPSGraphTensorData - The representation of a compute data type.
- MPSGraph
Tensor Named Data Layout MPSGraphCore - The tensor layout.
- MPSGraph
Type MPSGraphCore - The base type class for types on tensors.
- MPSGraph
Variable Op MPSGraphCoreandMPSGraphMemoryOpsandMPSGraphOperation - The class that defines the parameters for a variable.
Type Aliases§
- MPSGraph
Callable Map MPSGraphandMPSGraphCoreandMPSGraphExecutable - A dictionary of symbol names and the corresponding executables for them.
- MPSGraph
Compilation Completion Handler MPSGraphandMPSGraphCoreandMPSGraphExecutableandblock2 - A notification that appears when compilation finishes.
- MPSGraph
Completion Handler MPSGraphandMPSGraphCoreandMPSGraphTensorandMPSGraphTensorDataandblock2 - A notification that appears when graph execution finishes.
- MPSGraph
Control Flow Dependency Block MPSGraphControlFlowOpsandMPSGraphCoreandMPSGraphTensorandblock2 - The scope where all the operations defined in this block get control-dependency operations.
- MPSGraph
Executable Completion Handler MPSGraphCoreandMPSGraphExecutableandMPSGraphTensorDataandblock2 - A notification when graph executable execution finishes.
- MPSGraph
Executable Scheduled Handler MPSGraphCoreandMPSGraphExecutableandMPSGraphTensorDataandblock2 - A notification when graph executable execution schedules.
- MPSGraph
ForLoop Body Block MPSGraphControlFlowOpsandMPSGraphCoreandMPSGraphTensorandblock2 - A block for the body in the for loop.
- MPSGraph
IfThen Else Block MPSGraphControlFlowOpsandMPSGraphCoreandMPSGraphTensorandblock2 - A block of operations executed under either the if or else condition.
- MPSGraph
Scheduled Handler MPSGraphandMPSGraphCoreandMPSGraphTensorandMPSGraphTensorDataandblock2 - A notification that appears when graph execution schedules.
- MPSGraph
Tensor Data Dictionary MPSGraphandMPSGraphCoreandMPSGraphTensorandMPSGraphTensorData - A dictionary of tensors and corresponding tensor data.
- MPSGraph
Tensor Shaped Type Dictionary MPSGraphandMPSGraphCoreandMPSGraphTensor - A dictionary of tensors and corresponding shapes for them.
- MPSGraph
While After Block MPSGraphControlFlowOpsandMPSGraphCoreandMPSGraphTensorandblock2 - The block that executes after the condition evaluates for each iteration.
- MPSGraph
While Before Block MPSGraphControlFlowOpsandMPSGraphCoreandMPSGraphTensorandblock2 - The block that executes before the condition evaluates for each iteration.