Skip to main content

Crate objc2_metal_performance_shaders_graph

Crate objc2_metal_performance_shaders_graph 

Source
Expand description

§Bindings to the MetalPerformanceShadersGraph framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

MPSGraphMPSGraph and MPSGraphCore
The optimized representation of a compute graph of operations and tensors.
MPSGraphCompilationDescriptorMPSGraph and MPSGraphCore
A class that consists of all the levers for compiling graphs.
MPSGraphConvolution2DOpDescriptorMPSGraphConvolutionOps and MPSGraphCore
A class that describes the properties of a 2D-convolution operator.
MPSGraphConvolution3DOpDescriptorMPSGraphConvolutionOps and MPSGraphCore
A class that describes the properties of a 3D-convolution operator.
MPSGraphCreateSparseOpDescriptorMPSGraphCore and MPSGraphSparseOps
A class that describes the properties of a create sparse operation.
MPSGraphDeploymentPlatformMPSGraphExecutable
The options available to a graph.
MPSGraphDepthwiseConvolution2DOpDescriptorMPSGraphCore and MPSGraphDepthwiseConvolutionOps
A class that defines the parameters for a 2D-depthwise convolution operation.
MPSGraphDepthwiseConvolution3DOpDescriptorMPSGraphCore and MPSGraphDepthwiseConvolutionOps
The class that defines the parameters for a 3D-depthwise convolution operation.
MPSGraphDeviceMPSGraphCore and MPSGraphDevice
A class that describes the compute device.
MPSGraphDeviceTypeMPSGraphDevice
The device type.
MPSGraphExecutableMPSGraphCore and MPSGraphExecutable
The compiled representation of a compute graph executable.
MPSGraphExecutableExecutionDescriptorMPSGraphCore and MPSGraphExecutable
A class that consists of all the levers to synchronize and schedule executable execution.
MPSGraphExecutableSerializationDescriptorMPSGraphCore and MPSGraphExecutable
A class that consists of all the levers to serialize an executable.
MPSGraphExecutionDescriptorMPSGraph and MPSGraphCore
A class that consists of all the levers to synchronize and schedule graph execution.
MPSGraphExecutionStageMPSGraph
Execution events that can be used with shared events.
MPSGraphFFTDescriptorMPSGraphCore and MPSGraphFourierTransformOps
The class that defines the parameters for a fast Fourier transform (FFT) operation.
MPSGraphFFTScalingModeMPSGraphFourierTransformOps
The scaling modes for Fourier transform operations.
MPSGraphGRUDescriptorMPSGraphCore and MPSGraphRNNOps
The class that defines the parameters for a gated recurrent unit (GRU) operation.
MPSGraphImToColOpDescriptorMPSGraphCore and MPSGraphImToColOps
The class that defines the parameters for an image to column or column to image operation.
MPSGraphLSTMDescriptorMPSGraphCore and MPSGraphRNNOps
The class that defines the parameters for a long short-term memory (LSTM) operation.
MPSGraphLossReductionTypeMPSGraphLossOps
The type of the reduction the graph applies in the loss operations.
MPSGraphNonMaximumSuppressionCoordinateModeMPSGraphNonMaximumSuppressionOps
The non-maximum suppression coordinate mode.
MPSGraphObjectMPSGraphCore
The common base class for all Metal Performance Shaders Graph objects.
MPSGraphOperationMPSGraphCore and MPSGraphOperation
A symbolic representation of a compute operation.
MPSGraphOptimizationMPSGraph
The optimization levels to trade compilation time for even more runtime performance by running more passes.
MPSGraphOptimizationProfileMPSGraph
The optimization profile used as a heuristic as the graph compiler optimizes the network.
MPSGraphOptionsMPSGraph
The options available to a graph.
MPSGraphPaddingModeMPSGraphCore
The tensor padding mode.
MPSGraphPaddingStyleMPSGraphCore
The tensor padding style.
MPSGraphPooling2DOpDescriptorMPSGraphCore and MPSGraphPoolingOps
The class that defines the parameters for a 2D pooling operation.
MPSGraphPooling4DOpDescriptorMPSGraphCore and MPSGraphPoolingOps
The class that defines the parameters for a 4D pooling operation.
MPSGraphPoolingReturnIndicesModeMPSGraphPoolingOps
The flattening mode for returned indices with max-pooling.
MPSGraphRNNActivationMPSGraphRNNOps
The activation modes for RNN operations.
MPSGraphRandomDistributionMPSGraphRandomOps
The distributions supported by random operations.
MPSGraphRandomNormalSamplingMethodMPSGraphRandomOps
The sampling method to use when generating values in the normal distribution.
MPSGraphRandomOpDescriptorMPSGraphCore and MPSGraphRandomOps
A class that describes the random operation.
MPSGraphReducedPrecisionFastMathMPSGraph
MPSGraph could use these reduced precision paths to deliver faster math, but it is not guaranteed.
MPSGraphReductionModeMPSGraphCore
The reduction mode.
MPSGraphResizeModeMPSGraphResizeOps
The resize mode to use for resizing.
MPSGraphResizeNearestRoundingModeMPSGraphResizeOps
The rounding mode to use when using nearest resize mode.
MPSGraphScatterModeMPSGraphScatterNDOps
The scatter mode.
MPSGraphShapedTypeMPSGraphCore
The shaped type class for types on tensors with a shape and data type.
MPSGraphSingleGateRNNDescriptorMPSGraphCore and MPSGraphRNNOps
The class that defines the parameters for a single gate RNN operation.
MPSGraphSparseStorageTypeMPSGraphSparseOps
The sparse storage options in the Metal Performance Shaders Graph framework.
MPSGraphStencilOpDescriptorMPSGraphCore and MPSGraphStencilOps
The class that defines the parameters for a stencil operation.
MPSGraphTensorMPSGraphCore and MPSGraphTensor
The symbolic representation of a compute data type.
MPSGraphTensorDataMPSGraphCore and MPSGraphTensorData
The representation of a compute data type.
MPSGraphTensorNamedDataLayoutMPSGraphCore
The tensor layout.
MPSGraphTypeMPSGraphCore
The base type class for types on tensors.
MPSGraphVariableOpMPSGraphCore and MPSGraphMemoryOps and MPSGraphOperation
The class that defines the parameters for a variable.

Type Aliases§

MPSGraphCallableMapMPSGraph and MPSGraphCore and MPSGraphExecutable
A dictionary of symbol names and the corresponding executables for them.
MPSGraphCompilationCompletionHandlerblock2 and MPSGraph and MPSGraphCore and MPSGraphExecutable
A notification that appears when compilation finishes.
MPSGraphCompletionHandlerblock2 and MPSGraph and MPSGraphCore and MPSGraphTensor and MPSGraphTensorData
A notification that appears when graph execution finishes.
MPSGraphControlFlowDependencyBlockblock2 and MPSGraphControlFlowOps and MPSGraphCore and MPSGraphTensor
The scope where all the operations defined in this block get control-dependency operations.
MPSGraphExecutableCompletionHandlerblock2 and MPSGraphCore and MPSGraphExecutable and MPSGraphTensorData
A notification when graph executable execution finishes.
MPSGraphExecutableScheduledHandlerblock2 and MPSGraphCore and MPSGraphExecutable and MPSGraphTensorData
A notification when graph executable execution schedules.
MPSGraphForLoopBodyBlockblock2 and MPSGraphControlFlowOps and MPSGraphCore and MPSGraphTensor
A block for the body in the for loop.
MPSGraphIfThenElseBlockblock2 and MPSGraphControlFlowOps and MPSGraphCore and MPSGraphTensor
A block of operations executed under either the if or else condition.
MPSGraphScheduledHandlerblock2 and MPSGraph and MPSGraphCore and MPSGraphTensor and MPSGraphTensorData
A notification that appears when graph execution schedules.
MPSGraphTensorDataDictionaryMPSGraph and MPSGraphCore and MPSGraphTensor and MPSGraphTensorData
A dictionary of tensors and corresponding tensor data.
MPSGraphTensorShapedTypeDictionaryMPSGraph and MPSGraphCore and MPSGraphTensor
A dictionary of tensors and corresponding shapes for them.
MPSGraphWhileAfterBlockblock2 and MPSGraphControlFlowOps and MPSGraphCore and MPSGraphTensor
The block that executes after the condition evaluates for each iteration.
MPSGraphWhileBeforeBlockblock2 and MPSGraphControlFlowOps and MPSGraphCore and MPSGraphTensor
The block that executes before the condition evaluates for each iteration.