Cargo Features

[dependencies]
objc2-metal-performance-shaders-graph = { version = "0.3.0", default-features = false, features = ["std", "alloc", "block2", "objc2-metal-performance-shaders", "MPSGraph", "MPSGraphArithmeticOps", "MPSGraphAutomaticDifferentiation", "MPSGraphControlFlowOps", "MPSGraphConvolutionOps", "MPSGraphConvolutionTransposeOps", "MPSGraphCore", "MPSGraphCumulativeOps", "MPSGraphDepthwiseConvolutionOps", "MPSGraphDevice", "MPSGraphExecutable", "MPSGraphFourierTransformOps", "MPSGraphGatherOps", "MPSGraphImToColOps", "MPSGraphLossOps", "MPSGraphMatrixMultiplicationOps", "MPSGraphMemoryOps", "MPSGraphNonZeroOps", "MPSGraphNormalizationOps", "MPSGraphOneHotOps", "MPSGraphOperation", "MPSGraphOptimizerOps", "MPSGraphPoolingOps", "MPSGraphQuantizationOps", "MPSGraphRandomOps", "MPSGraphReductionOps", "MPSGraphScatterNDOps", "MPSGraphSortOps", "MPSGraphSparseOps", "MPSGraphStencilOps", "MPSGraphTensor", "MPSGraphTensorData", "MPSGraphTensorShapeOps", "MPSGraphTopKOps"] }
default = MPSGraph, MPSGraphActivationOps, MPSGraphArithmeticOps, MPSGraphAutomaticDifferentiation, MPSGraphCallOps, MPSGraphControlFlowOps, MPSGraphConvolutionOps, MPSGraphConvolutionTransposeOps, MPSGraphCore, MPSGraphCumulativeOps, MPSGraphDepthwiseConvolutionOps, MPSGraphDevice, MPSGraphExecutable, MPSGraphFourierTransformOps, MPSGraphGatherOps, MPSGraphImToColOps, MPSGraphLinearAlgebraOps, MPSGraphLossOps, MPSGraphMatrixInverseOps, MPSGraphMatrixMultiplicationOps, MPSGraphMemoryOps, MPSGraphNonMaximumSuppressionOps, MPSGraphNonZeroOps, MPSGraphNormalizationOps, MPSGraphOneHotOps, MPSGraphOperation, MPSGraphOptimizerOps, MPSGraphPoolingOps, MPSGraphQuantizationOps, MPSGraphRNNOps, MPSGraphRandomOps, MPSGraphReductionOps, MPSGraphResizeOps, MPSGraphSampleGridOps, MPSGraphScatterNDOps, MPSGraphSortOps, MPSGraphSparseOps, MPSGraphStencilOps, MPSGraphTensor, MPSGraphTensorData, MPSGraphTensorShapeOps, MPSGraphTopKOps, block2, objc2-metal-performance-shaders, std

These default features are set whenever objc2-metal-performance-shaders-graph is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
block2 default

Enables block2

Affects MPSGraph::MPSGraphCompilationCompletionHandler, MPSGraphControlFlowOps::MPSGraphControlFlowDependencyBlock, MPSGraphControlFlowOps::MPSGraphIfThenElseBlock, MPSGraphControlFlowOps::MPSGraphWhileBeforeBlock, MPSGraphControlFlowOps::MPSGraphWhileAfterBlock, MPSGraphControlFlowOps::MPSGraphForLoopBodyBlock, MPSGraphExecutable::MPSGraphExecutableCompletionHandler, MPSGraphExecutable::MPSGraphExecutableScheduledHandler, MPSGraph::MPSGraphCompletionHandler, MPSGraph::MPSGraphScheduledHandler

objc2-metal-performance-shaders default

Enables objc2-metal-performance-shaders

MPSGraph default

Enables NSArray, NSDictionary, NSError, NSObject and NSString of objc2-foundation, MTLCommandQueue and MTLEvent of objc2-metal

MPSGraphActivationOps MPSGraphArithmeticOps default

Enables NSString of objc2-foundation

MPSGraphAutomaticDifferentiation default

Enables NSArray, NSDictionary and NSString of objc2-foundation

MPSGraphCallOps MPSGraphControlFlowOps default

Enables NSArray and NSString of objc2-foundation

MPSGraphConvolutionOps default

Enables NSObject and NSString of objc2-foundation

MPSGraphConvolutionTransposeOps default

Enables NSString of objc2-foundation

MPSGraphCore default

Enables NSObject of objc2-foundation

Affects MPSGraph::MPSGraphTensorShapedTypeDictionary, MPSGraph::MPSGraphCallableMap, MPSGraph::MPSGraphTensorDataDictionary, MPSGraph::MPSGraphCompilationCompletionHandler, MPSGraphControlFlowOps::MPSGraphControlFlowDependencyBlock, MPSGraphControlFlowOps::MPSGraphIfThenElseBlock, MPSGraphControlFlowOps::MPSGraphWhileBeforeBlock, MPSGraphControlFlowOps::MPSGraphWhileAfterBlock, MPSGraphControlFlowOps::MPSGraphForLoopBodyBlock, MPSGraphExecutable::MPSGraphExecutableCompletionHandler, MPSGraphExecutable::MPSGraphExecutableScheduledHandler, MPSGraph::MPSGraphCompletionHandler, MPSGraph::MPSGraphScheduledHandler

MPSGraphCumulativeOps default

Enables NSString of objc2-foundation

MPSGraphDepthwiseConvolutionOps default

Enables NSArray, NSObject, NSString and NSValue of objc2-foundation

MPSGraphDevice default

Enables MTLDevice of objc2-metal

MPSGraphExecutable default

Enables NSArray, NSError, NSObject, NSString and NSURL of objc2-foundation, MTLCommandQueue and MTLEvent of objc2-metal

Affects MPSGraph::MPSGraphCallableMap, MPSGraph::MPSGraphCompilationCompletionHandler

MPSGraphFourierTransformOps default

Enables NSArray, NSObject, NSString and NSValue of objc2-foundation

MPSGraphGatherOps default

Enables NSString of objc2-foundation

MPSGraphImToColOps default

Enables NSObject and NSString of objc2-foundation

MPSGraphLinearAlgebraOps MPSGraphLossOps default

Enables NSString of objc2-foundation

MPSGraphMatrixInverseOps MPSGraphMatrixMultiplicationOps default

Enables NSString of objc2-foundation

MPSGraphMemoryOps default

Enables NSData, NSObject and NSString of objc2-foundation

MPSGraphNonMaximumSuppressionOps MPSGraphNonZeroOps default

Enables NSString of objc2-foundation

MPSGraphNormalizationOps default

Enables NSArray, NSString and NSValue of objc2-foundation

MPSGraphOneHotOps default

Enables NSString of objc2-foundation

MPSGraphOperation default

Enables NSArray, NSObject and NSString of objc2-foundation

MPSGraphOptimizerOps default

Enables NSArray and NSString of objc2-foundation

MPSGraphPoolingOps default

Enables NSArray, NSObject, NSString and NSValue of objc2-foundation

MPSGraphQuantizationOps default

Enables NSString of objc2-foundation

MPSGraphRNNOps MPSGraphRandomOps default

Enables NSArray, NSObject and NSString of objc2-foundation

MPSGraphReductionOps default

Enables NSArray, NSString and NSValue of objc2-foundation

MPSGraphResizeOps MPSGraphSampleGridOps MPSGraphScatterNDOps default

Enables NSString of objc2-foundation

MPSGraphSortOps default

Enables NSString of objc2-foundation

MPSGraphSparseOps default

Enables NSArray, NSObject and NSString of objc2-foundation

MPSGraphStencilOps default

Enables NSObject and NSString of objc2-foundation

MPSGraphTensor default

Enables NSObject of objc2-foundation

Affects MPSGraph::MPSGraphTensorShapedTypeDictionary, MPSGraph::MPSGraphTensorDataDictionary, MPSGraphControlFlowOps::MPSGraphControlFlowDependencyBlock, MPSGraphControlFlowOps::MPSGraphIfThenElseBlock, MPSGraphControlFlowOps::MPSGraphWhileBeforeBlock, MPSGraphControlFlowOps::MPSGraphWhileAfterBlock, MPSGraphControlFlowOps::MPSGraphForLoopBodyBlock, MPSGraph::MPSGraphCompletionHandler, MPSGraph::MPSGraphScheduledHandler

MPSGraphTensorData default

Enables NSData of objc2-foundation, MTLAllocation, MTLBuffer and MTLResource of objc2-metal

Affects MPSGraph::MPSGraphTensorDataDictionary, MPSGraphExecutable::MPSGraphExecutableCompletionHandler, MPSGraphExecutable::MPSGraphExecutableScheduledHandler, MPSGraph::MPSGraphCompletionHandler, MPSGraph::MPSGraphScheduledHandler

MPSGraphTensorShapeOps default

Enables NSArray, NSString and NSValue of objc2-foundation

MPSGraphTopKOps default

Enables NSArray and NSString of objc2-foundation