Cargo Features
[dependencies]
objc2-ml-compute = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2-metal", "MLCActivationDescriptor", "MLCActivationLayer", "MLCAdamWOptimizer", "MLCComparisonLayer", "MLCConcatenationLayer", "MLCConvolutionDescriptor", "MLCDefines", "MLCDevice", "MLCDropoutLayer", "MLCEmbeddingDescriptor", "MLCGatherLayer", "MLCGramMatrixLayer", "MLCGraph", "MLCGroupNormalizationLayer", "MLCInferenceGraph", "MLCInstanceNormalizationLayer", "MLCLSTMDescriptor", "MLCLSTMLayer", "MLCLayer", "MLCLayerNormalizationLayer", "MLCLossDescriptor", "MLCLossLayer", "MLCMatMulDescriptor", "MLCMatMulLayer", "MLCMultiheadAttentionDescriptor", "MLCMultiheadAttentionLayer", "MLCOptimizerDescriptor", "MLCPaddingLayer", "MLCPlatform", "MLCPoolingDescriptor", "MLCPoolingLayer", "MLCRMSPropOptimizer", "MLCReshapeLayer", "MLCSGDOptimizer", "MLCSelectionLayer", "MLCSliceLayer", "MLCSoftmaxLayer", "MLCSplitLayer", "MLCTensor", "MLCTensorData", "MLCTensorDescriptor", "MLCTensorOptimizerDeviceData", "MLCTensorParameter", "MLCTrainingGraph", "MLCTransposeLayer", "MLCTypes", "MLCUpsampleLayer", "MLCYOLOLossDescriptor", "MLCYOLOLossLayer"] }
- default = MLCActivationDescriptor, MLCActivationLayer, MLCAdamOptimizer, MLCAdamWOptimizer, MLCArithmeticLayer, MLCBatchNormalizationLayer, MLCComparisonLayer, MLCConcatenationLayer, MLCConvolutionDescriptor, MLCConvolutionLayer, MLCDefines, MLCDevice, MLCDropoutLayer, MLCEmbeddingDescriptor, MLCEmbeddingLayer, MLCFullyConnectedLayer, MLCGatherLayer, MLCGramMatrixLayer, MLCGraph, MLCGroupNormalizationLayer, MLCInferenceGraph, MLCInstanceNormalizationLayer, MLCLSTMDescriptor, MLCLSTMLayer, MLCLayer, MLCLayerNormalizationLayer, MLCLossDescriptor, MLCLossLayer, MLCMatMulDescriptor, MLCMatMulLayer, MLCMultiheadAttentionDescriptor, MLCMultiheadAttentionLayer, MLCOptimizer, MLCOptimizerDescriptor, MLCPaddingLayer, MLCPlatform, MLCPoolingDescriptor, MLCPoolingLayer, MLCRMSPropOptimizer, MLCReductionLayer, MLCReshapeLayer, MLCSGDOptimizer, MLCScatterLayer, MLCSelectionLayer, MLCSliceLayer, MLCSoftmaxLayer, MLCSplitLayer, MLCTensor, MLCTensorData, MLCTensorDescriptor, MLCTensorOptimizerDeviceData, MLCTensorParameter, MLCTrainingGraph, MLCTransposeLayer, MLCTypes, MLCUpsampleLayer, MLCYOLOLossDescriptor, MLCYOLOLossLayer, bitflags, block2, objc2-metal, std
-
These default features are set whenever
objc2-ml-compute
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- bitflags default MLCTypes
-
Enables bitflags
- block2 default
-
Enables block2
Affects
MLCTypes::MLCGraphCompletionHandler
… - objc2-metal default
-
Enables objc2-metal
- MLCActivationDescriptor default
-
Enables NSObject of objc2-foundation
- MLCActivationLayer default
- MLCAdamOptimizer MLCAdamWOptimizer default
-
Enables NSObject of objc2-foundation
- MLCArithmeticLayer MLCBatchNormalizationLayer MLCComparisonLayer default
- MLCConcatenationLayer default
- MLCConvolutionDescriptor default
-
Enables NSArray, NSObject and NSValue of objc2-foundation
- MLCConvolutionLayer MLCDefines default
- MLCDevice default
-
Enables NSArray and NSObject of objc2-foundation
- MLCDropoutLayer default
- MLCEmbeddingDescriptor default
-
Enables NSObject and NSValue of objc2-foundation
- MLCEmbeddingLayer MLCFullyConnectedLayer MLCGatherLayer default
- MLCGramMatrixLayer default
- MLCGraph default
-
Enables NSArray, NSDictionary, NSString and NSValue of objc2-foundation
- MLCGroupNormalizationLayer default
- MLCInferenceGraph default
-
Enables NSArray, NSDate, NSDictionary, NSError and NSString of objc2-foundation
- MLCInstanceNormalizationLayer default
- MLCLSTMDescriptor default
-
Enables NSObject of objc2-foundation
- MLCLSTMLayer default
-
Enables NSArray of objc2-foundation
- MLCLayer default
-
Enables NSString of objc2-foundation
- MLCLayerNormalizationLayer default
-
Enables NSArray and NSValue of objc2-foundation
- MLCLossDescriptor default
-
Enables NSObject of objc2-foundation
- MLCLossLayer default
- MLCMatMulDescriptor default
-
Enables NSObject of objc2-foundation
- MLCMatMulLayer default
- MLCMultiheadAttentionDescriptor default
-
Enables NSObject of objc2-foundation
- MLCMultiheadAttentionLayer default
-
Enables NSArray of objc2-foundation
- MLCOptimizer MLCOptimizerDescriptor default
-
Enables NSObject of objc2-foundation
- MLCPaddingLayer default
-
Enables NSArray, NSObject and NSValue of objc2-foundation
- MLCPlatform default
-
Enables NSValue of objc2-foundation
- MLCPoolingDescriptor default
-
Enables NSArray, NSObject and NSValue of objc2-foundation
- MLCPoolingLayer default
- MLCRMSPropOptimizer default
-
Enables NSObject of objc2-foundation
- MLCReductionLayer MLCReshapeLayer default
-
Enables NSArray and NSValue of objc2-foundation
- MLCSGDOptimizer default
-
Enables NSObject of objc2-foundation
- MLCScatterLayer MLCSelectionLayer default
- MLCSliceLayer default
-
Enables NSArray and NSValue of objc2-foundation
- MLCSoftmaxLayer default
- MLCSplitLayer default
-
Enables NSArray and NSValue of objc2-foundation
- MLCTensor default
-
Enables NSArray, NSData, NSObject, NSString and NSValue of objc2-foundation
Affects
MLCTypes::MLCGraphCompletionHandler
… - MLCTensorData default
- MLCTensorDescriptor default
-
Enables NSArray, NSObject and NSValue of objc2-foundation
- MLCTensorOptimizerDeviceData default
-
Enables NSObject of objc2-foundation
- MLCTensorParameter default
-
Enables NSArray of objc2-foundation
- MLCTrainingGraph default
-
Enables NSArray, NSData, NSDate, NSDictionary, NSError and NSString of objc2-foundation
- MLCTransposeLayer default
-
Enables NSArray and NSValue of objc2-foundation
- MLCTypes default = bitflags
-
Enables NSDate, NSError and NSString of objc2-foundation
- MLCUpsampleLayer default
-
Enables NSArray and NSValue of objc2-foundation
- MLCYOLOLossDescriptor default
-
Enables NSData and NSObject of objc2-foundation
- MLCYOLOLossLayer default