pyobjc-framework-MetalPerformanceShaders 11.1__tar.gz → 12.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Lib/MetalPerformanceShaders/_metadata.py +348 -7
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/PKG-INFO +6 -5
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/SOURCES.txt +2 -6
- pyobjc_framework_metalperformanceshaders-12.2.2/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_metalperformanceshaders-12.2.2/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/requires.txt +2 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Modules/_MetalPerformanceShaders.m +18 -21
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Modules/_MetalPerformanceShaders_inlines.m +18 -21
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Modules/_MetalPerformanceShaders_protocols.m +2 -1
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Modules/pyobjc-api.h +6 -3
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Modules/pyobjc-compat.h +56 -98
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PKG-INFO +6 -5
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpscoretypes.py +8 -0
- pyobjc_framework_metalperformanceshaders-12.2.2/PyObjCTest/test_mpsimage_mpsimagekernel.py +74 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnkernel.py +4 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/metadata/MetalPerformanceShaders.fwinfo +64 -46
- pyobjc_framework_metalperformanceshaders-11.1/metadata/raw/arm64-15.4.fwinfo → pyobjc_framework_metalperformanceshaders-12.2.2/metadata/raw/arm64-26.5.fwinfo +18295 -565
- pyobjc_framework_metalperformanceshaders-11.1/metadata/raw/x86_64-15.4.fwinfo → pyobjc_framework_metalperformanceshaders-12.2.2/metadata/raw/x86_64-26.5.fwinfo +18295 -565
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/pyobjc_setup.py +5 -4
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/setup.py +1 -1
- pyobjc_framework_metalperformanceshaders-11.1/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_metalperformanceshaders-11.1/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/requires.txt +0 -2
- pyobjc_framework_metalperformanceshaders-11.1/PyObjCTest/test_mpsimage_mpsimagekernel.py +0 -36
- pyobjc_framework_metalperformanceshaders-11.1/metadata/raw/arm64-13.3.fwinfo +0 -54728
- pyobjc_framework_metalperformanceshaders-11.1/metadata/raw/arm64-14.5.fwinfo +0 -54765
- pyobjc_framework_metalperformanceshaders-11.1/metadata/raw/x86_64-13.3.fwinfo +0 -54728
- pyobjc_framework_metalperformanceshaders-11.1/metadata/raw/x86_64-14.5.fwinfo +0 -54765
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Lib/MetalPerformanceShaders/__init__.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/Lib/pyobjc_framework_MetalPerformanceShaders.egg-info/top_level.txt +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/License.txt +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/MANIFEST.in +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_metalperformanceshaders.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpscommandbuffer.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpsfunctionconstantindices.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpsimage.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpskerneltypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpskeyedunarchiver.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpsndarray.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpsndarrayidentity.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpsndarrayquantization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpscore_mpsstate.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsimage_mpsimageconvolution.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsimage_mpsimagehistogram.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsimage_mpsimagekeypoint.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsimage_mpsimagemorphology.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsimage_mpsimagethreshold.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsimage_mpsimagetypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsmatrix_mpsmatrixcombination.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsmatrix_mpsmatrixdecomposition.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsmatrix_mpsmatrixmultiplication.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsmatrix_mpsmatrixrandom.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsmatrix_mpsmatrixsolve.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsmatrix_mpsndarraymultiarykernel.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsndarray_mpsndarraytypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnconvolution.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnngroupnormalization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnninstancenormalization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnloss.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnmath.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnneuraltypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnntypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpscnnupsampling.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsmatrixbatchnormalization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsmatrixsum.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsneuralnetworktypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsnnbatchnormalization.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsnngraph.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsnngraphnodes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsnngridsample.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsnnoptimzers.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsnnreshape.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsnnresize.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsneuralnetwork_mpsrnnlayer.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsrayintersector_mpsaccelerationstructure.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsrayintersector_mpsinstanceaccelerationstructure.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsrayintersector_mpspolygonaccelerationstructure.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsrayintersector_mpsrayintersector.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsrayintersector_mpsrayintersectortypes.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/PyObjCTest/test_mpsrayintersector_mpssvgf.py +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/metadata/metadata.ini +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/pyproject.toml +0 -0
- {pyobjc_framework_metalperformanceshaders-11.1 → pyobjc_framework_metalperformanceshaders-12.2.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Thu May 28 22:14:07 2026
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -257,7 +257,7 @@ misc.update(
|
|
|
257
257
|
}
|
|
258
258
|
)
|
|
259
259
|
constants = """$MPSRectNoClip@{MTLRegion={MTLOrigin=QQQ}{MTLSize=QQQ}}$"""
|
|
260
|
-
enums = """$MPSAccelerationStructureStatusBuilt@1$MPSAccelerationStructureStatusUnbuilt@0$MPSAccelerationStructureUsageFrequentRebuild@2$MPSAccelerationStructureUsageNone@0$MPSAccelerationStructureUsagePreferCPUBuild@8$MPSAccelerationStructureUsagePreferGPUBuild@4$MPSAccelerationStructureUsageRefit@1$MPSAliasingStrategyAliasingReserved@3$MPSAliasingStrategyDefault@0$MPSAliasingStrategyDontCare@0$MPSAliasingStrategyPreferNonTemporaryMemory@8$MPSAliasingStrategyPreferTemporaryMemory@4$MPSAliasingStrategyShallAlias@1$MPSAliasingStrategyShallNotAlias@2$MPSAlphaTypeAlphaIsOne@1$MPSAlphaTypeNonPremultiplied@0$MPSAlphaTypePremultiplied@2$MPSBoundingBoxIntersectionTestTypeAxisAligned@1$MPSBoundingBoxIntersectionTestTypeDefault@0$MPSBoundingBoxIntersectionTestTypeFast@2$MPSCNNBatchNormalizationFlagsCalculateStatisticsAlways@1$MPSCNNBatchNormalizationFlagsCalculateStatisticsAutomatic@0$MPSCNNBatchNormalizationFlagsCalculateStatisticsMask@3$MPSCNNBatchNormalizationFlagsCalculateStatisticsNever@2$MPSCNNBatchNormalizationFlagsDefault@0$MPSCNNBinaryConvolutionFlagsNone@0$MPSCNNBinaryConvolutionFlagsUseBetaScaling@1$MPSCNNBinaryConvolutionTypeAND@2$MPSCNNBinaryConvolutionTypeBinaryWeights@0$MPSCNNBinaryConvolutionTypeXNOR@1$MPSCNNConvolutionFlagsNone@0$MPSCNNConvolutionGradientOptionAll@3$MPSCNNConvolutionGradientOptionGradientWithData@1$MPSCNNConvolutionGradientOptionGradientWithWeightsAndBias@2$MPSCNNConvolutionWeightsLayoutOHWI@0$MPSCNNLossTypeCategoricalCrossEntropy@4$MPSCNNLossTypeCosineDistance@7$MPSCNNLossTypeCount@10$MPSCNNLossTypeHinge@5$MPSCNNLossTypeHuber@6$MPSCNNLossTypeKullbackLeiblerDivergence@9$MPSCNNLossTypeLog@8$MPSCNNLossTypeMeanAbsoluteError@0$MPSCNNLossTypeMeanSquaredError@1$MPSCNNLossTypeSigmoidCrossEntropy@3$MPSCNNLossTypeSoftMaxCrossEntropy@2$MPSCNNNeuronTypeAbsolute@6$MPSCNNNeuronTypeCount@16$MPSCNNNeuronTypeELU@9$MPSCNNNeuronTypeExponential@13$MPSCNNNeuronTypeGeLU@15$MPSCNNNeuronTypeHardSigmoid@4$MPSCNNNeuronTypeLinear@2$MPSCNNNeuronTypeLogarithm@14$MPSCNNNeuronTypeNone@0$MPSCNNNeuronTypePReLU@10$MPSCNNNeuronTypePower@12$MPSCNNNeuronTypeReLU@1$MPSCNNNeuronTypeReLUN@11$MPSCNNNeuronTypeSigmoid@3$MPSCNNNeuronTypeSoftPlus@7$MPSCNNNeuronTypeSoftSign@8$MPSCNNNeuronTypeTanH@5$MPSCNNReductionTypeCount@4$MPSCNNReductionTypeMean@2$MPSCNNReductionTypeNone@0$MPSCNNReductionTypeSum@1$MPSCNNReductionTypeSumByNonZeroWeights@3$MPSCNNWeightsQuantizationTypeLinear@1$MPSCNNWeightsQuantizationTypeLookupTable@2$MPSCNNWeightsQuantizationTypeNone@0$MPSCustomKernelIndexDestIndex@0$MPSCustomKernelIndexSrc0Index@0$MPSCustomKernelIndexSrc1Index@1$MPSCustomKernelIndexSrc2Index@2$MPSCustomKernelIndexSrc3Index@3$MPSCustomKernelIndexSrc4Index@4$MPSCustomKernelIndexUserDataIndex@30$MPSDataLayoutFeatureChannelsxHeightxWidth@1$MPSDataLayoutHeightxWidthxFeatureChannels@0$MPSDataTypeAlternateEncodingBit@2147483648$MPSDataTypeBFloat16@2415919120$MPSDataTypeBool@2147483656$MPSDataTypeComplexBit@16777216$MPSDataTypeComplexFloat16@285212704$MPSDataTypeComplexFloat32@285212736$MPSDataTypeFloat16@268435472$MPSDataTypeFloat32@268435488$MPSDataTypeFloatBit@268435456$MPSDataTypeInt16@536870928$MPSDataTypeInt2@536870914$MPSDataTypeInt32@536870944$MPSDataTypeInt4@536870916$MPSDataTypeInt64@536870976$MPSDataTypeInt8@536870920$MPSDataTypeIntBit@536870912$MPSDataTypeInvalid@0$MPSDataTypeNormalizedBit@1073741824$MPSDataTypeSignedBit@536870912$MPSDataTypeUInt16@16$MPSDataTypeUInt2@2$MPSDataTypeUInt32@32$MPSDataTypeUInt4@4$MPSDataTypeUInt64@64$MPSDataTypeUInt8@8$MPSDataTypeUnorm1@1073741825$MPSDataTypeUnorm8@1073741832$MPSDeviceCapsIndex@127$MPSDeviceCapsNull@0$MPSDeviceIsAppleDevice@1024$MPSDeviceOptionsDefault@0$MPSDeviceOptionsLowPower@1$MPSDeviceOptionsSkipRemovable@2$MPSDeviceSupportsBFloat16Arithmetic@4096$MPSDeviceSupportsFloat16BicubicFiltering@512$MPSDeviceSupportsFloat32Filtering@128$MPSDeviceSupportsNorm16BicubicFiltering@256$MPSDeviceSupportsQuadShuffle@16$MPSDeviceSupportsReadWriteTextures@4$MPSDeviceSupportsReadableArrayOfTextures@1$MPSDeviceSupportsSimdReduction@64$MPSDeviceSupportsSimdShuffle@32$MPSDeviceSupportsSimdShuffleAndFill@2048$MPSDeviceSupportsSimdgroupBarrier@8$MPSDeviceSupportsWritableArrayOfTextures@2$MPSFloatDataTypeExponentBit@8126464$MPSFloatDataTypeExponentShift@18$MPSFloatDataTypeMantissaBit@261120$MPSFloatDataTypeMantissaShift@10$MPSFloatDataTypeSignBit@8388608$MPSFloatDataTypeSignShift@23$MPSFunctionConstantNone@-1$MPSImageEdgeModeClamp@1$MPSImageEdgeModeConstant@4$MPSImageEdgeModeMirror@2$MPSImageEdgeModeMirrorWithEdge@3$MPSImageEdgeModeZero@0$MPSImageFeatureChannelFormatCount@6$MPSImageFeatureChannelFormatFloat16@3$MPSImageFeatureChannelFormatFloat32@4$MPSImageFeatureChannelFormatNone@0$MPSImageFeatureChannelFormatUnorm16@2$MPSImageFeatureChannelFormatUnorm8@1$MPSImageFeatureChannelFormat_reserved0@5$MPSImageType2d@0$MPSImageType2d_array@1$MPSImageType2d_array_noAlpha@5$MPSImageType2d_noAlpha@4$MPSImageTypeArray2d@2$MPSImageTypeArray2d_array@3$MPSImageTypeArray2d_array_noAlpha@7$MPSImageTypeArray2d_noAlpha@6$MPSImageType_ArrayMask@1$MPSImageType_BatchMask@2$MPSImageType_bitCount@6$MPSImageType_mask@63$MPSImageType_noAlpha@4$MPSImageType_texelFormatBFloat16@24$MPSImageType_texelFormatFloat16@16$MPSImageType_texelFormatMask@56$MPSImageType_texelFormatShift@3$MPSImageType_texelFormatStandard@0$MPSImageType_texelFormatUnorm8@8$MPSImageType_typeMask@3$MPSIntersectionDataTypeDistance@0$MPSIntersectionDataTypeDistancePrimitiveIndex@1$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndex@5$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexCoordinates@6$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexInstanceIndex@7$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates@8$MPSIntersectionDataTypeDistancePrimitiveIndexCoordinates@2$MPSIntersectionDataTypeDistancePrimitiveIndexInstanceIndex@3$MPSIntersectionDataTypeDistancePrimitiveIndexInstanceIndexCoordinates@4$MPSIntersectionTypeAny@1$MPSIntersectionTypeNearest@0$MPSKernelOptionsAllowReducedPrecision@2$MPSKernelOptionsDisableInternalTiling@4$MPSKernelOptionsInsertDebugGroups@8$MPSKernelOptionsNone@0$MPSKernelOptionsSkipAPIValidation@1$MPSKernelOptionsVerbose@16$MPSKernelTypes_h@1$MPSMatrixDecompositionStatusFailure@-1$MPSMatrixDecompositionStatusNonPositiveDefinite@-3$MPSMatrixDecompositionStatusSingular@-2$MPSMatrixDecompositionStatusSuccess@0$MPSMatrixRandomDistributionDefault@1$MPSMatrixRandomDistributionNormal@3$MPSMatrixRandomDistributionUniform@2$MPSNDArrayQuantizationTypeAffine@1$MPSNDArrayQuantizationTypeLUT@2$MPSNDArrayQuantizationTypeNone@0$MPSNNComparisonTypeEqual@0$MPSNNComparisonTypeGreater@4$MPSNNComparisonTypeGreaterOrEqual@5$MPSNNComparisonTypeLess@2$MPSNNComparisonTypeLessOrEqual@3$MPSNNComparisonTypeNotEqual@1$MPSNNConvolutionAccumulatorPrecisionOptionFloat@1$MPSNNConvolutionAccumulatorPrecisionOptionHalf@0$MPSNNPaddingMethodAddRemainderToBottomLeft@8$MPSNNPaddingMethodAddRemainderToBottomRight@12$MPSNNPaddingMethodAddRemainderToMask@12$MPSNNPaddingMethodAddRemainderToTopLeft@0$MPSNNPaddingMethodAddRemainderToTopRight@4$MPSNNPaddingMethodAlignBottomRight@2$MPSNNPaddingMethodAlignCentered@0$MPSNNPaddingMethodAlignMask@3$MPSNNPaddingMethodAlignTopLeft@1$MPSNNPaddingMethodAlign_reserved@3$MPSNNPaddingMethodCustom@16384$MPSNNPaddingMethodCustomAllowForNodeFusion@8192$MPSNNPaddingMethodCustomWhitelistForNodeFusion@8192$MPSNNPaddingMethodExcludeEdges@32768$MPSNNPaddingMethodSizeFull@32$MPSNNPaddingMethodSizeMask@2032$MPSNNPaddingMethodSizeSame@16$MPSNNPaddingMethodSizeValidOnly@0$MPSNNPaddingMethodSize_reserved@48$MPSNNRegularizationTypeL1@1$MPSNNRegularizationTypeL2@2$MPSNNRegularizationTypeNone@0$MPSNNTrainingStyleUpdateDeviceCPU@1$MPSNNTrainingStyleUpdateDeviceGPU@2$MPSNNTrainingStyleUpdateDeviceNone@0$MPSPolygonTypeQuadrilateral@1$MPSPolygonTypeTriangle@0$MPSPurgeableStateAllocationDeferred@0$MPSPurgeableStateEmpty@4$MPSPurgeableStateKeepCurrent@1$MPSPurgeableStateNonVolatile@2$MPSPurgeableStateVolatile@3$MPSRNNBidirectionalCombineModeAdd@1$MPSRNNBidirectionalCombineModeConcatenate@2$MPSRNNBidirectionalCombineModeNone@0$MPSRNNMatrixIdGRUInputGateBiasTerms@21$MPSRNNMatrixIdGRUInputGateInputWeights@19$MPSRNNMatrixIdGRUInputGateRecurrentWeights@20$MPSRNNMatrixIdGRUOutputGateBiasTerms@28$MPSRNNMatrixIdGRUOutputGateInputGateWeights@27$MPSRNNMatrixIdGRUOutputGateInputWeights@25$MPSRNNMatrixIdGRUOutputGateRecurrentWeights@26$MPSRNNMatrixIdGRURecurrentGateBiasTerms@24$MPSRNNMatrixIdGRURecurrentGateInputWeights@22$MPSRNNMatrixIdGRURecurrentGateRecurrentWeights@23$MPSRNNMatrixIdLSTMForgetGateBiasTerms@10$MPSRNNMatrixIdLSTMForgetGateInputWeights@7$MPSRNNMatrixIdLSTMForgetGateMemoryWeights@9$MPSRNNMatrixIdLSTMForgetGateRecurrentWeights@8$MPSRNNMatrixIdLSTMInputGateBiasTerms@6$MPSRNNMatrixIdLSTMInputGateInputWeights@3$MPSRNNMatrixIdLSTMInputGateMemoryWeights@5$MPSRNNMatrixIdLSTMInputGateRecurrentWeights@4$MPSRNNMatrixIdLSTMMemoryGateBiasTerms@14$MPSRNNMatrixIdLSTMMemoryGateInputWeights@11$MPSRNNMatrixIdLSTMMemoryGateMemoryWeights@13$MPSRNNMatrixIdLSTMMemoryGateRecurrentWeights@12$MPSRNNMatrixIdLSTMOutputGateBiasTerms@18$MPSRNNMatrixIdLSTMOutputGateInputWeights@15$MPSRNNMatrixIdLSTMOutputGateMemoryWeights@17$MPSRNNMatrixIdLSTMOutputGateRecurrentWeights@16$MPSRNNMatrixIdSingleGateBiasTerms@2$MPSRNNMatrixIdSingleGateInputWeights@0$MPSRNNMatrixIdSingleGateRecurrentWeights@1$MPSRNNMatrixId_count@29$MPSRNNSequenceDirectionBackward@1$MPSRNNSequenceDirectionForward@0$MPSRayDataTypeOriginDirection@0$MPSRayDataTypeOriginMaskDirectionMaxDistance@2$MPSRayDataTypeOriginMinDistanceDirectionMaxDistance@1$MPSRayDataTypePackedOriginDirection@3$MPSRayMaskOperatorAnd@0$MPSRayMaskOperatorEqual@10$MPSRayMaskOperatorGreaterThan@8$MPSRayMaskOperatorGreaterThanOrEqualTo@9$MPSRayMaskOperatorLessThan@6$MPSRayMaskOperatorLessThanOrEqualTo@7$MPSRayMaskOperatorNotAnd@1$MPSRayMaskOperatorNotEqual@11$MPSRayMaskOperatorNotOr@3$MPSRayMaskOperatorNotXor@5$MPSRayMaskOperatorOr@2$MPSRayMaskOperatorXor@4$MPSRayMaskOptionInstance@2$MPSRayMaskOptionNone@0$MPSRayMaskOptionPrimitive@1$MPSStateResourceTypeBuffer@1$MPSStateResourceTypeNone@0$MPSStateResourceTypeTexture@2$MPSTemporalWeightingAverage@0$MPSTemporalWeightingExponentialMovingAverage@1$MPSTransformTypeFloat4x4@0$MPSTransformTypeIdentity@1$MPSTriangleIntersectionTestTypeDefault@0$MPSTriangleIntersectionTestTypeWatertight@1$MetalPerformanceShaders_h@1$"""
|
|
260
|
+
enums = """$MPSAccelerationStructureStatusBuilt@1$MPSAccelerationStructureStatusUnbuilt@0$MPSAccelerationStructureUsageFrequentRebuild@2$MPSAccelerationStructureUsageNone@0$MPSAccelerationStructureUsagePreferCPUBuild@8$MPSAccelerationStructureUsagePreferGPUBuild@4$MPSAccelerationStructureUsageRefit@1$MPSAliasingStrategyAliasingReserved@3$MPSAliasingStrategyDefault@0$MPSAliasingStrategyDontCare@0$MPSAliasingStrategyPreferNonTemporaryMemory@8$MPSAliasingStrategyPreferTemporaryMemory@4$MPSAliasingStrategyShallAlias@1$MPSAliasingStrategyShallNotAlias@2$MPSAlphaTypeAlphaIsOne@1$MPSAlphaTypeNonPremultiplied@0$MPSAlphaTypePremultiplied@2$MPSBoundingBoxIntersectionTestTypeAxisAligned@1$MPSBoundingBoxIntersectionTestTypeDefault@0$MPSBoundingBoxIntersectionTestTypeFast@2$MPSCNNBatchNormalizationFlagsCalculateStatisticsAlways@1$MPSCNNBatchNormalizationFlagsCalculateStatisticsAutomatic@0$MPSCNNBatchNormalizationFlagsCalculateStatisticsMask@3$MPSCNNBatchNormalizationFlagsCalculateStatisticsNever@2$MPSCNNBatchNormalizationFlagsDefault@0$MPSCNNBinaryConvolutionFlagsNone@0$MPSCNNBinaryConvolutionFlagsUseBetaScaling@1$MPSCNNBinaryConvolutionTypeAND@2$MPSCNNBinaryConvolutionTypeBinaryWeights@0$MPSCNNBinaryConvolutionTypeXNOR@1$MPSCNNConvolutionFlagsNone@0$MPSCNNConvolutionGradientOptionAll@3$MPSCNNConvolutionGradientOptionGradientWithData@1$MPSCNNConvolutionGradientOptionGradientWithWeightsAndBias@2$MPSCNNConvolutionWeightsLayoutOHWI@0$MPSCNNLossTypeCategoricalCrossEntropy@4$MPSCNNLossTypeCosineDistance@7$MPSCNNLossTypeCount@10$MPSCNNLossTypeHinge@5$MPSCNNLossTypeHuber@6$MPSCNNLossTypeKullbackLeiblerDivergence@9$MPSCNNLossTypeLog@8$MPSCNNLossTypeMeanAbsoluteError@0$MPSCNNLossTypeMeanSquaredError@1$MPSCNNLossTypeSigmoidCrossEntropy@3$MPSCNNLossTypeSoftMaxCrossEntropy@2$MPSCNNNeuronTypeAbsolute@6$MPSCNNNeuronTypeCount@16$MPSCNNNeuronTypeELU@9$MPSCNNNeuronTypeExponential@13$MPSCNNNeuronTypeGeLU@15$MPSCNNNeuronTypeHardSigmoid@4$MPSCNNNeuronTypeLinear@2$MPSCNNNeuronTypeLogarithm@14$MPSCNNNeuronTypeNone@0$MPSCNNNeuronTypePReLU@10$MPSCNNNeuronTypePower@12$MPSCNNNeuronTypeReLU@1$MPSCNNNeuronTypeReLUN@11$MPSCNNNeuronTypeSigmoid@3$MPSCNNNeuronTypeSoftPlus@7$MPSCNNNeuronTypeSoftSign@8$MPSCNNNeuronTypeTanH@5$MPSCNNReductionTypeCount@4$MPSCNNReductionTypeMean@2$MPSCNNReductionTypeNone@0$MPSCNNReductionTypeSum@1$MPSCNNReductionTypeSumByNonZeroWeights@3$MPSCNNWeightsQuantizationTypeLinear@1$MPSCNNWeightsQuantizationTypeLookupTable@2$MPSCNNWeightsQuantizationTypeNone@0$MPSCustomKernelIndexDestIndex@0$MPSCustomKernelIndexSrc0Index@0$MPSCustomKernelIndexSrc1Index@1$MPSCustomKernelIndexSrc2Index@2$MPSCustomKernelIndexSrc3Index@3$MPSCustomKernelIndexSrc4Index@4$MPSCustomKernelIndexUserDataIndex@30$MPSDataLayoutFeatureChannelsxHeightxWidth@1$MPSDataLayoutHeightxWidthxFeatureChannels@0$MPSDataTypeAlternateEncodingBit@2147483648$MPSDataTypeBFloat16@2415919120$MPSDataTypeBool@2147483656$MPSDataTypeComplexBFloat16@2432696352$MPSDataTypeComplexBit@16777216$MPSDataTypeComplexFloat16@285212704$MPSDataTypeComplexFloat32@285212736$MPSDataTypeFloat16@268435472$MPSDataTypeFloat32@268435488$MPSDataTypeFloatBit@268435456$MPSDataTypeInt16@536870928$MPSDataTypeInt2@536870914$MPSDataTypeInt32@536870944$MPSDataTypeInt4@536870916$MPSDataTypeInt64@536870976$MPSDataTypeInt8@536870920$MPSDataTypeIntBit@536870912$MPSDataTypeInvalid@0$MPSDataTypeNormalizedBit@1073741824$MPSDataTypeSignedBit@536870912$MPSDataTypeUInt16@16$MPSDataTypeUInt2@2$MPSDataTypeUInt32@32$MPSDataTypeUInt4@4$MPSDataTypeUInt64@64$MPSDataTypeUInt8@8$MPSDataTypeUnorm1@1073741825$MPSDataTypeUnorm8@1073741832$MPSDeviceCapsIndex@127$MPSDeviceCapsNull@0$MPSDeviceIsAppleDevice@1024$MPSDeviceOptionsDefault@0$MPSDeviceOptionsLowPower@1$MPSDeviceOptionsSkipRemovable@2$MPSDeviceSupportsBFloat16Arithmetic@4096$MPSDeviceSupportsFloat16BicubicFiltering@512$MPSDeviceSupportsFloat32Filtering@128$MPSDeviceSupportsNorm16BicubicFiltering@256$MPSDeviceSupportsQuadShuffle@16$MPSDeviceSupportsReadWriteTextures@4$MPSDeviceSupportsReadableArrayOfTextures@1$MPSDeviceSupportsSimdReduction@64$MPSDeviceSupportsSimdShuffle@32$MPSDeviceSupportsSimdShuffleAndFill@2048$MPSDeviceSupportsSimdgroupBarrier@8$MPSDeviceSupportsWritableArrayOfTextures@2$MPSFloatDataTypeExponentBit@8126464$MPSFloatDataTypeExponentShift@18$MPSFloatDataTypeMantissaBit@261120$MPSFloatDataTypeMantissaShift@10$MPSFloatDataTypeSignBit@8388608$MPSFloatDataTypeSignShift@23$MPSFunctionConstantNone@-1$MPSImageEdgeModeClamp@1$MPSImageEdgeModeConstant@4$MPSImageEdgeModeMirror@2$MPSImageEdgeModeMirrorWithEdge@3$MPSImageEdgeModeZero@0$MPSImageFeatureChannelFormatCount@6$MPSImageFeatureChannelFormatFloat16@3$MPSImageFeatureChannelFormatFloat32@4$MPSImageFeatureChannelFormatNone@0$MPSImageFeatureChannelFormatUnorm16@2$MPSImageFeatureChannelFormatUnorm8@1$MPSImageFeatureChannelFormat_reserved0@5$MPSImageType2d@0$MPSImageType2d_array@1$MPSImageType2d_array_noAlpha@5$MPSImageType2d_noAlpha@4$MPSImageTypeArray2d@2$MPSImageTypeArray2d_array@3$MPSImageTypeArray2d_array_noAlpha@7$MPSImageTypeArray2d_noAlpha@6$MPSImageType_ArrayMask@1$MPSImageType_BatchMask@2$MPSImageType_bitCount@6$MPSImageType_mask@63$MPSImageType_noAlpha@4$MPSImageType_texelFormatBFloat16@24$MPSImageType_texelFormatFloat16@16$MPSImageType_texelFormatMask@56$MPSImageType_texelFormatShift@3$MPSImageType_texelFormatStandard@0$MPSImageType_texelFormatUnorm8@8$MPSImageType_typeMask@3$MPSIntersectionDataTypeDistance@0$MPSIntersectionDataTypeDistancePrimitiveIndex@1$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndex@5$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexCoordinates@6$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexInstanceIndex@7$MPSIntersectionDataTypeDistancePrimitiveIndexBufferIndexInstanceIndexCoordinates@8$MPSIntersectionDataTypeDistancePrimitiveIndexCoordinates@2$MPSIntersectionDataTypeDistancePrimitiveIndexInstanceIndex@3$MPSIntersectionDataTypeDistancePrimitiveIndexInstanceIndexCoordinates@4$MPSIntersectionTypeAny@1$MPSIntersectionTypeNearest@0$MPSKernelOptionsAllowReducedPrecision@2$MPSKernelOptionsDisableInternalTiling@4$MPSKernelOptionsInsertDebugGroups@8$MPSKernelOptionsNone@0$MPSKernelOptionsSkipAPIValidation@1$MPSKernelOptionsVerbose@16$MPSKernelTypes_h@1$MPSMatrixDecompositionStatusFailure@-1$MPSMatrixDecompositionStatusNonPositiveDefinite@-3$MPSMatrixDecompositionStatusSingular@-2$MPSMatrixDecompositionStatusSuccess@0$MPSMatrixRandomDistributionDefault@1$MPSMatrixRandomDistributionNormal@3$MPSMatrixRandomDistributionUniform@2$MPSNDArrayQuantizationTypeAffine@1$MPSNDArrayQuantizationTypeLUT@2$MPSNDArrayQuantizationTypeNone@0$MPSNNComparisonTypeEqual@0$MPSNNComparisonTypeGreater@4$MPSNNComparisonTypeGreaterOrEqual@5$MPSNNComparisonTypeLess@2$MPSNNComparisonTypeLessOrEqual@3$MPSNNComparisonTypeNotEqual@1$MPSNNConvolutionAccumulatorPrecisionOptionFloat@1$MPSNNConvolutionAccumulatorPrecisionOptionHalf@0$MPSNNPaddingMethodAddRemainderToBottomLeft@8$MPSNNPaddingMethodAddRemainderToBottomRight@12$MPSNNPaddingMethodAddRemainderToMask@12$MPSNNPaddingMethodAddRemainderToTopLeft@0$MPSNNPaddingMethodAddRemainderToTopRight@4$MPSNNPaddingMethodAlignBottomRight@2$MPSNNPaddingMethodAlignCentered@0$MPSNNPaddingMethodAlignMask@3$MPSNNPaddingMethodAlignTopLeft@1$MPSNNPaddingMethodAlign_reserved@3$MPSNNPaddingMethodCustom@16384$MPSNNPaddingMethodCustomAllowForNodeFusion@8192$MPSNNPaddingMethodCustomWhitelistForNodeFusion@8192$MPSNNPaddingMethodExcludeEdges@32768$MPSNNPaddingMethodSizeFull@32$MPSNNPaddingMethodSizeMask@2032$MPSNNPaddingMethodSizeSame@16$MPSNNPaddingMethodSizeValidOnly@0$MPSNNPaddingMethodSize_reserved@48$MPSNNRegularizationTypeL1@1$MPSNNRegularizationTypeL2@2$MPSNNRegularizationTypeNone@0$MPSNNTrainingStyleUpdateDeviceCPU@1$MPSNNTrainingStyleUpdateDeviceGPU@2$MPSNNTrainingStyleUpdateDeviceNone@0$MPSPolygonTypeQuadrilateral@1$MPSPolygonTypeTriangle@0$MPSPurgeableStateAllocationDeferred@0$MPSPurgeableStateEmpty@4$MPSPurgeableStateKeepCurrent@1$MPSPurgeableStateNonVolatile@2$MPSPurgeableStateVolatile@3$MPSRNNBidirectionalCombineModeAdd@1$MPSRNNBidirectionalCombineModeConcatenate@2$MPSRNNBidirectionalCombineModeNone@0$MPSRNNMatrixIdGRUInputGateBiasTerms@21$MPSRNNMatrixIdGRUInputGateInputWeights@19$MPSRNNMatrixIdGRUInputGateRecurrentWeights@20$MPSRNNMatrixIdGRUOutputGateBiasTerms@28$MPSRNNMatrixIdGRUOutputGateInputGateWeights@27$MPSRNNMatrixIdGRUOutputGateInputWeights@25$MPSRNNMatrixIdGRUOutputGateRecurrentWeights@26$MPSRNNMatrixIdGRURecurrentGateBiasTerms@24$MPSRNNMatrixIdGRURecurrentGateInputWeights@22$MPSRNNMatrixIdGRURecurrentGateRecurrentWeights@23$MPSRNNMatrixIdLSTMForgetGateBiasTerms@10$MPSRNNMatrixIdLSTMForgetGateInputWeights@7$MPSRNNMatrixIdLSTMForgetGateMemoryWeights@9$MPSRNNMatrixIdLSTMForgetGateRecurrentWeights@8$MPSRNNMatrixIdLSTMInputGateBiasTerms@6$MPSRNNMatrixIdLSTMInputGateInputWeights@3$MPSRNNMatrixIdLSTMInputGateMemoryWeights@5$MPSRNNMatrixIdLSTMInputGateRecurrentWeights@4$MPSRNNMatrixIdLSTMMemoryGateBiasTerms@14$MPSRNNMatrixIdLSTMMemoryGateInputWeights@11$MPSRNNMatrixIdLSTMMemoryGateMemoryWeights@13$MPSRNNMatrixIdLSTMMemoryGateRecurrentWeights@12$MPSRNNMatrixIdLSTMOutputGateBiasTerms@18$MPSRNNMatrixIdLSTMOutputGateInputWeights@15$MPSRNNMatrixIdLSTMOutputGateMemoryWeights@17$MPSRNNMatrixIdLSTMOutputGateRecurrentWeights@16$MPSRNNMatrixIdSingleGateBiasTerms@2$MPSRNNMatrixIdSingleGateInputWeights@0$MPSRNNMatrixIdSingleGateRecurrentWeights@1$MPSRNNMatrixId_count@29$MPSRNNSequenceDirectionBackward@1$MPSRNNSequenceDirectionForward@0$MPSRayDataTypeOriginDirection@0$MPSRayDataTypeOriginMaskDirectionMaxDistance@2$MPSRayDataTypeOriginMinDistanceDirectionMaxDistance@1$MPSRayDataTypePackedOriginDirection@3$MPSRayMaskOperatorAnd@0$MPSRayMaskOperatorEqual@10$MPSRayMaskOperatorGreaterThan@8$MPSRayMaskOperatorGreaterThanOrEqualTo@9$MPSRayMaskOperatorLessThan@6$MPSRayMaskOperatorLessThanOrEqualTo@7$MPSRayMaskOperatorNotAnd@1$MPSRayMaskOperatorNotEqual@11$MPSRayMaskOperatorNotOr@3$MPSRayMaskOperatorNotXor@5$MPSRayMaskOperatorOr@2$MPSRayMaskOperatorXor@4$MPSRayMaskOptionInstance@2$MPSRayMaskOptionNone@0$MPSRayMaskOptionPrimitive@1$MPSStateResourceTypeBuffer@1$MPSStateResourceTypeNone@0$MPSStateResourceTypeTexture@2$MPSTemporalWeightingAverage@0$MPSTemporalWeightingExponentialMovingAverage@1$MPSTransformTypeFloat4x4@0$MPSTransformTypeIdentity@1$MPSTriangleIntersectionTestTypeDefault@0$MPSTriangleIntersectionTestTypeWatertight@1$MetalPerformanceShaders_h@1$"""
|
|
261
261
|
misc.update(
|
|
262
262
|
{
|
|
263
263
|
"MPSNNRegularizationType": NewType("MPSNNRegularizationType", int),
|
|
@@ -457,7 +457,10 @@ try:
|
|
|
457
457
|
r(
|
|
458
458
|
b"MPSBinaryImageKernel",
|
|
459
459
|
b"primarySourceRegionForDestinationSize:",
|
|
460
|
-
{
|
|
460
|
+
{
|
|
461
|
+
"retval": {"type": b"{MPSRegion={MPSOrigin=ddd}{MPSSize=ddd}}"},
|
|
462
|
+
"arguments": {2: {"type": b"{MTLSize=QQQ}"}},
|
|
463
|
+
},
|
|
461
464
|
)
|
|
462
465
|
r(
|
|
463
466
|
b"MPSBinaryImageKernel",
|
|
@@ -467,7 +470,10 @@ try:
|
|
|
467
470
|
r(
|
|
468
471
|
b"MPSBinaryImageKernel",
|
|
469
472
|
b"secondarySourceRegionForDestinationSize:",
|
|
470
|
-
{
|
|
473
|
+
{
|
|
474
|
+
"retval": {"type": b"{MPSRegion={MPSOrigin=ddd}{MPSSize=ddd}}"},
|
|
475
|
+
"arguments": {2: {"type": b"{MTLSize=QQQ}"}},
|
|
476
|
+
},
|
|
471
477
|
)
|
|
472
478
|
r(
|
|
473
479
|
b"MPSBinaryImageKernel",
|
|
@@ -1148,6 +1154,16 @@ try:
|
|
|
1148
1154
|
b"setClipRectSource:",
|
|
1149
1155
|
{"arguments": {2: {"type": b"{MTLRegion={MTLOrigin=QQQ}{MTLSize=QQQ}}"}}},
|
|
1150
1156
|
)
|
|
1157
|
+
r(
|
|
1158
|
+
b"MPSImageScale",
|
|
1159
|
+
b"scaleTransform",
|
|
1160
|
+
{"retval": {"type": b"^{MPSScaleTransform=dddd}"}},
|
|
1161
|
+
)
|
|
1162
|
+
r(
|
|
1163
|
+
b"MPSImageScale",
|
|
1164
|
+
b"setScaleTransform:",
|
|
1165
|
+
{"arguments": {2: {"type": b"^{MPSScaleTransform=dddd}"}}},
|
|
1166
|
+
)
|
|
1151
1167
|
r(
|
|
1152
1168
|
b"MPSImageSobel",
|
|
1153
1169
|
b"initWithDevice:linearGrayColorTransform:",
|
|
@@ -1431,11 +1447,21 @@ try:
|
|
|
1431
1447
|
b"exportDataWithCommandBuffer:toBuffer:destinationDataType:offset:rowStrides:",
|
|
1432
1448
|
{"arguments": {6: {"type_modifier": b"n", "c_array_of_variable_length": True}}},
|
|
1433
1449
|
)
|
|
1450
|
+
r(
|
|
1451
|
+
b"MPSNDArray",
|
|
1452
|
+
b"exportDataWithCommandBuffer:toImages:offset:",
|
|
1453
|
+
{"arguments": {4: {"type": b"{MPSImageCoordinate=QQQ}"}}},
|
|
1454
|
+
)
|
|
1434
1455
|
r(
|
|
1435
1456
|
b"MPSNDArray",
|
|
1436
1457
|
b"importDataWithCommandBuffer:fromBuffer:sourceDataType:offset:rowStrides:",
|
|
1437
1458
|
{"arguments": {6: {"type_modifier": b"n", "c_array_of_variable_length": True}}},
|
|
1438
1459
|
)
|
|
1460
|
+
r(
|
|
1461
|
+
b"MPSNDArray",
|
|
1462
|
+
b"importDataWithCommandBuffer:fromImages:offset:",
|
|
1463
|
+
{"arguments": {4: {"type": b"{MPSImageCoordinate=QQQ}"}}},
|
|
1464
|
+
)
|
|
1439
1465
|
r(
|
|
1440
1466
|
b"MPSNDArray",
|
|
1441
1467
|
b"readBytes:strideBytes:",
|
|
@@ -1557,6 +1583,16 @@ try:
|
|
|
1557
1583
|
b"setPreferPackedRows:",
|
|
1558
1584
|
{"arguments": {2: {"type": b"Z"}}},
|
|
1559
1585
|
)
|
|
1586
|
+
r(
|
|
1587
|
+
b"MPSNDArrayDescriptor",
|
|
1588
|
+
b"sliceDimension:withSubrange:",
|
|
1589
|
+
{"arguments": {3: {"type": b"{MPSDimensionSlice=QQ}"}}},
|
|
1590
|
+
)
|
|
1591
|
+
r(
|
|
1592
|
+
b"MPSNDArrayDescriptor",
|
|
1593
|
+
b"sliceRangeForDimension:",
|
|
1594
|
+
{"retval": {"type": b"{MPSDimensionSlice=QQ}"}},
|
|
1595
|
+
)
|
|
1560
1596
|
r(
|
|
1561
1597
|
b"MPSNDArrayIdentity",
|
|
1562
1598
|
b"reshapeWithCommandBuffer:sourceArray:dimensionCount:dimensionSizes:destinationArray:",
|
|
@@ -1647,6 +1683,16 @@ try:
|
|
|
1647
1683
|
b"nodeWithSourceGradient:sourceImage:gradientState:isSecondarySourceFilter:",
|
|
1648
1684
|
{"arguments": {5: {"type": b"Z"}}},
|
|
1649
1685
|
)
|
|
1686
|
+
r(
|
|
1687
|
+
b"MPSNNCropAndResizeBilinear",
|
|
1688
|
+
b"initWithDevice:resizeWidth:resizeHeight:numberOfRegions:regions:",
|
|
1689
|
+
{"arguments": {6: {"type": b"^{MPSRegion={MPSOrigin=ddd}{MPSSize=ddd}}"}}},
|
|
1690
|
+
)
|
|
1691
|
+
r(
|
|
1692
|
+
b"MPSNNCropAndResizeBilinear",
|
|
1693
|
+
b"regions",
|
|
1694
|
+
{"retval": {"type": b"^{MPSRegion={MPSOrigin=ddd}{MPSSize=ddd}}"}},
|
|
1695
|
+
)
|
|
1650
1696
|
r(
|
|
1651
1697
|
b"MPSNNFilterNode",
|
|
1652
1698
|
b"trainingGraphWithSourceGradient:nodeHandler:",
|
|
@@ -1824,6 +1870,66 @@ try:
|
|
|
1824
1870
|
b"useNestrovMomentum",
|
|
1825
1871
|
{"retval": {"type": b"Z"}},
|
|
1826
1872
|
)
|
|
1873
|
+
r(
|
|
1874
|
+
b"MPSNNPad",
|
|
1875
|
+
b"initWithDevice:paddingSizeBefore:paddingSizeAfter:",
|
|
1876
|
+
{
|
|
1877
|
+
"arguments": {
|
|
1878
|
+
3: {"type": b"{MPSImageCoordinate=QQQ}"},
|
|
1879
|
+
4: {"type": b"{MPSImageCoordinate=QQQ}"},
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
)
|
|
1883
|
+
r(
|
|
1884
|
+
b"MPSNNPad",
|
|
1885
|
+
b"initWithDevice:paddingSizeBefore:paddingSizeAfter:fillValueArray:",
|
|
1886
|
+
{
|
|
1887
|
+
"arguments": {
|
|
1888
|
+
3: {"type": b"{MPSImageCoordinate=QQQ}"},
|
|
1889
|
+
4: {"type": b"{MPSImageCoordinate=QQQ}"},
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
)
|
|
1893
|
+
r(
|
|
1894
|
+
b"MPSNNPad",
|
|
1895
|
+
b"paddingSizeAfter",
|
|
1896
|
+
{"retval": {"type": b"{MPSImageCoordinate=QQQ}"}},
|
|
1897
|
+
)
|
|
1898
|
+
r(
|
|
1899
|
+
b"MPSNNPad",
|
|
1900
|
+
b"paddingSizeBefore",
|
|
1901
|
+
{"retval": {"type": b"{MPSImageCoordinate=QQQ}"}},
|
|
1902
|
+
)
|
|
1903
|
+
r(
|
|
1904
|
+
b"MPSNNPad",
|
|
1905
|
+
b"setPaddingSizeAfter:",
|
|
1906
|
+
{"arguments": {2: {"type": b"{MPSImageCoordinate=QQQ}"}}},
|
|
1907
|
+
)
|
|
1908
|
+
r(
|
|
1909
|
+
b"MPSNNPad",
|
|
1910
|
+
b"setPaddingSizeBefore:",
|
|
1911
|
+
{"arguments": {2: {"type": b"{MPSImageCoordinate=QQQ}"}}},
|
|
1912
|
+
)
|
|
1913
|
+
r(
|
|
1914
|
+
b"MPSNNPadNode",
|
|
1915
|
+
b"initWithSource:paddingSizeBefore:paddingSizeAfter:edgeMode:",
|
|
1916
|
+
{
|
|
1917
|
+
"arguments": {
|
|
1918
|
+
3: {"type": b"{MPSImageCoordinate=QQQ}"},
|
|
1919
|
+
4: {"type": b"{MPSImageCoordinate=QQQ}"},
|
|
1920
|
+
}
|
|
1921
|
+
},
|
|
1922
|
+
)
|
|
1923
|
+
r(
|
|
1924
|
+
b"MPSNNPadNode",
|
|
1925
|
+
b"nodeWithSource:paddingSizeBefore:paddingSizeAfter:edgeMode:",
|
|
1926
|
+
{
|
|
1927
|
+
"arguments": {
|
|
1928
|
+
3: {"type": b"{MPSImageCoordinate=QQQ}"},
|
|
1929
|
+
4: {"type": b"{MPSImageCoordinate=QQQ}"},
|
|
1930
|
+
}
|
|
1931
|
+
},
|
|
1932
|
+
)
|
|
1827
1933
|
r(b"MPSNNReduceBinary", b"primaryOffset", {"retval": {"type": b"{MPSOffset=qqq}"}})
|
|
1828
1934
|
r(
|
|
1829
1935
|
b"MPSNNReduceBinary",
|
|
@@ -2029,6 +2135,11 @@ try:
|
|
|
2029
2135
|
b"resourceAtIndex:allocateMemory:",
|
|
2030
2136
|
{"arguments": {3: {"type": b"Z"}}},
|
|
2031
2137
|
)
|
|
2138
|
+
r(
|
|
2139
|
+
b"MPSState",
|
|
2140
|
+
b"textureInfoAtIndex:",
|
|
2141
|
+
{"retval": {"type": b"{MPSStateTextureInfo=QQQQQQQ[4Q]}"}},
|
|
2142
|
+
)
|
|
2032
2143
|
r(b"MPSStateResourceList", b"resourceListWithBufferSizes:", {"variadic": True})
|
|
2033
2144
|
r(
|
|
2034
2145
|
b"MPSStateResourceList",
|
|
@@ -2074,7 +2185,10 @@ try:
|
|
|
2074
2185
|
r(
|
|
2075
2186
|
b"MPSUnaryImageKernel",
|
|
2076
2187
|
b"sourceRegionForDestinationSize:",
|
|
2077
|
-
{
|
|
2188
|
+
{
|
|
2189
|
+
"retval": {"type": b"{MPSRegion={MPSOrigin=ddd}{MPSSize=ddd}}"},
|
|
2190
|
+
"arguments": {2: {"type": b"{MTLSize=QQQ}"}},
|
|
2191
|
+
},
|
|
2078
2192
|
)
|
|
2079
2193
|
r(
|
|
2080
2194
|
b"NSObject",
|
|
@@ -2379,6 +2493,7 @@ try:
|
|
|
2379
2493
|
finally:
|
|
2380
2494
|
objc._updatingMetadata(False)
|
|
2381
2495
|
|
|
2496
|
+
objc.registerNewKeywordsFromSelector("MPSAccelerationStructure", b"init")
|
|
2382
2497
|
objc.registerNewKeywordsFromSelector(
|
|
2383
2498
|
"MPSAccelerationStructure", b"initWithCoder:device:"
|
|
2384
2499
|
)
|
|
@@ -2387,6 +2502,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
2387
2502
|
)
|
|
2388
2503
|
objc.registerNewKeywordsFromSelector("MPSAccelerationStructure", b"initWithDevice:")
|
|
2389
2504
|
objc.registerNewKeywordsFromSelector("MPSAccelerationStructure", b"initWithGroup:")
|
|
2505
|
+
objc.registerNewKeywordsFromSelector("MPSAccelerationStructureGroup", b"init")
|
|
2390
2506
|
objc.registerNewKeywordsFromSelector(
|
|
2391
2507
|
"MPSAccelerationStructureGroup", b"initWithDevice:"
|
|
2392
2508
|
)
|
|
@@ -2401,6 +2517,7 @@ objc.registerNewKeywordsFromSelector("MPSCNNArithmeticGradient", b"initWithDevic
|
|
|
2401
2517
|
objc.registerNewKeywordsFromSelector(
|
|
2402
2518
|
"MPSCNNArithmeticGradient", b"initWithDevice:isSecondarySourceFilter:"
|
|
2403
2519
|
)
|
|
2520
|
+
objc.registerNewKeywordsFromSelector("MPSCNNArithmeticGradientState", b"init")
|
|
2404
2521
|
objc.registerNewKeywordsFromSelector(
|
|
2405
2522
|
"MPSCNNBatchNormalization", b"initWithCoder:device:"
|
|
2406
2523
|
)
|
|
@@ -2608,6 +2725,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
2608
2725
|
"MPSCNNDropoutGradientNode",
|
|
2609
2726
|
b"initWithSourceGradient:sourceImage:gradientState:keepProbability:seed:maskStrideInPixels:",
|
|
2610
2727
|
)
|
|
2728
|
+
objc.registerNewKeywordsFromSelector("MPSCNNDropoutGradientState", b"init")
|
|
2611
2729
|
objc.registerNewKeywordsFromSelector("MPSCNNDropoutNode", b"initWithSource:")
|
|
2612
2730
|
objc.registerNewKeywordsFromSelector(
|
|
2613
2731
|
"MPSCNNDropoutNode", b"initWithSource:keepProbability:"
|
|
@@ -2723,6 +2841,9 @@ objc.registerNewKeywordsFromSelector("MPSCNNLogSoftMaxNode", b"initWithSource:")
|
|
|
2723
2841
|
objc.registerNewKeywordsFromSelector("MPSCNNLoss", b"initWithCoder:device:")
|
|
2724
2842
|
objc.registerNewKeywordsFromSelector("MPSCNNLoss", b"initWithDevice:")
|
|
2725
2843
|
objc.registerNewKeywordsFromSelector("MPSCNNLoss", b"initWithDevice:lossDescriptor:")
|
|
2844
|
+
objc.registerNewKeywordsFromSelector("MPSCNNLossDataDescriptor", b"init")
|
|
2845
|
+
objc.registerNewKeywordsFromSelector("MPSCNNLossDescriptor", b"init")
|
|
2846
|
+
objc.registerNewKeywordsFromSelector("MPSCNNLossLabels", b"init")
|
|
2726
2847
|
objc.registerNewKeywordsFromSelector(
|
|
2727
2848
|
"MPSCNNLossLabels", b"initWithDevice:labelsDescriptor:"
|
|
2728
2849
|
)
|
|
@@ -2770,6 +2891,7 @@ objc.registerNewKeywordsFromSelector("MPSCNNNeuronGradient", b"initWithDevice:")
|
|
|
2770
2891
|
objc.registerNewKeywordsFromSelector(
|
|
2771
2892
|
"MPSCNNNeuronGradient", b"initWithDevice:neuronDescriptor:"
|
|
2772
2893
|
)
|
|
2894
|
+
objc.registerNewKeywordsFromSelector("MPSCNNNeuronGradientNode", b"init")
|
|
2773
2895
|
objc.registerNewKeywordsFromSelector(
|
|
2774
2896
|
"MPSCNNNeuronGradientNode",
|
|
2775
2897
|
b"initWithSourceGradient:sourceImage:gradientState:descriptor:",
|
|
@@ -2790,6 +2912,7 @@ objc.registerNewKeywordsFromSelector("MPSCNNNeuronLogarithmNode", b"initWithSour
|
|
|
2790
2912
|
objc.registerNewKeywordsFromSelector(
|
|
2791
2913
|
"MPSCNNNeuronLogarithmNode", b"initWithSource:a:b:c:"
|
|
2792
2914
|
)
|
|
2915
|
+
objc.registerNewKeywordsFromSelector("MPSCNNNeuronNode", b"init")
|
|
2793
2916
|
objc.registerNewKeywordsFromSelector("MPSCNNNeuronPReLU", b"initWithDevice:")
|
|
2794
2917
|
objc.registerNewKeywordsFromSelector("MPSCNNNeuronPReLU", b"initWithDevice:a:count:")
|
|
2795
2918
|
objc.registerNewKeywordsFromSelector("MPSCNNNeuronPReLUNode", b"initWithSource:")
|
|
@@ -2971,10 +3094,13 @@ objc.registerNewKeywordsFromSelector("MPSCNNYOLOLoss", b"initWithDevice:")
|
|
|
2971
3094
|
objc.registerNewKeywordsFromSelector(
|
|
2972
3095
|
"MPSCNNYOLOLoss", b"initWithDevice:lossDescriptor:"
|
|
2973
3096
|
)
|
|
3097
|
+
objc.registerNewKeywordsFromSelector("MPSCNNYOLOLossDescriptor", b"init")
|
|
2974
3098
|
objc.registerNewKeywordsFromSelector(
|
|
2975
3099
|
"MPSCNNYOLOLossNode", b"initWithSource:lossDescriptor:"
|
|
2976
3100
|
)
|
|
3101
|
+
objc.registerNewKeywordsFromSelector("MPSCommandBuffer", b"init")
|
|
2977
3102
|
objc.registerNewKeywordsFromSelector("MPSCommandBuffer", b"initWithCommandBuffer:")
|
|
3103
|
+
objc.registerNewKeywordsFromSelector("MPSImage", b"init")
|
|
2978
3104
|
objc.registerNewKeywordsFromSelector("MPSImage", b"initWithDevice:imageDescriptor:")
|
|
2979
3105
|
objc.registerNewKeywordsFromSelector(
|
|
2980
3106
|
"MPSImage", b"initWithParentImage:sliceRange:featureChannels:"
|
|
@@ -3151,6 +3277,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3151
3277
|
objc.registerNewKeywordsFromSelector("MPSKernel", b"initWithCoder:")
|
|
3152
3278
|
objc.registerNewKeywordsFromSelector("MPSKernel", b"initWithCoder:device:")
|
|
3153
3279
|
objc.registerNewKeywordsFromSelector("MPSKernel", b"initWithDevice:")
|
|
3280
|
+
objc.registerNewKeywordsFromSelector("MPSKeyedUnarchiver", b"init")
|
|
3154
3281
|
objc.registerNewKeywordsFromSelector(
|
|
3155
3282
|
"MPSKeyedUnarchiver", b"initForReadingFromData:device:error:"
|
|
3156
3283
|
)
|
|
@@ -3162,6 +3289,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3162
3289
|
"MPSKeyedUnarchiver", b"initForReadingWithData:device:"
|
|
3163
3290
|
)
|
|
3164
3291
|
objc.registerNewKeywordsFromSelector("MPSKeyedUnarchiver", b"initWithDevice:")
|
|
3292
|
+
objc.registerNewKeywordsFromSelector("MPSMatrix", b"init")
|
|
3165
3293
|
objc.registerNewKeywordsFromSelector("MPSMatrix", b"initWithBuffer:descriptor:")
|
|
3166
3294
|
objc.registerNewKeywordsFromSelector("MPSMatrix", b"initWithBuffer:offset:descriptor:")
|
|
3167
3295
|
objc.registerNewKeywordsFromSelector("MPSMatrix", b"initWithDevice:descriptor:")
|
|
@@ -3181,6 +3309,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3181
3309
|
"MPSMatrixCopy",
|
|
3182
3310
|
b"initWithDevice:copyRows:copyColumns:sourcesAreTransposed:destinationsAreTransposed:",
|
|
3183
3311
|
)
|
|
3312
|
+
objc.registerNewKeywordsFromSelector("MPSMatrixCopyDescriptor", b"init")
|
|
3184
3313
|
objc.registerNewKeywordsFromSelector(
|
|
3185
3314
|
"MPSMatrixCopyDescriptor", b"initWithDevice:count:"
|
|
3186
3315
|
)
|
|
@@ -3278,6 +3407,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3278
3407
|
"MPSMatrixVectorMultiplication",
|
|
3279
3408
|
b"initWithDevice:transpose:rows:columns:alpha:beta:",
|
|
3280
3409
|
)
|
|
3410
|
+
objc.registerNewKeywordsFromSelector("MPSNDArray", b"init")
|
|
3281
3411
|
objc.registerNewKeywordsFromSelector("MPSNDArray", b"initWithBuffer:offset:descriptor:")
|
|
3282
3412
|
objc.registerNewKeywordsFromSelector("MPSNDArray", b"initWithDevice:descriptor:")
|
|
3283
3413
|
objc.registerNewKeywordsFromSelector("MPSNDArray", b"initWithDevice:scalar:")
|
|
@@ -3290,6 +3420,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3290
3420
|
objc.registerNewKeywordsFromSelector(
|
|
3291
3421
|
"MPSNDArrayAffineInt4Dequantize", b"initWithDevice:sourceCount:"
|
|
3292
3422
|
)
|
|
3423
|
+
objc.registerNewKeywordsFromSelector("MPSNDArrayAffineQuantizationDescriptor", b"init")
|
|
3293
3424
|
objc.registerNewKeywordsFromSelector(
|
|
3294
3425
|
"MPSNDArrayAffineQuantizationDescriptor",
|
|
3295
3426
|
b"initWithDataType:hasZeroPoint:hasMinValue:",
|
|
@@ -3319,6 +3450,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3319
3450
|
"MPSNDArrayBinarySecondaryGradientKernel",
|
|
3320
3451
|
b"initWithDevice:sourceCount:sourceGradientIndex:",
|
|
3321
3452
|
)
|
|
3453
|
+
objc.registerNewKeywordsFromSelector("MPSNDArrayDescriptor", b"init")
|
|
3322
3454
|
objc.registerNewKeywordsFromSelector("MPSNDArrayIdentity", b"initWithDevice:")
|
|
3323
3455
|
objc.registerNewKeywordsFromSelector("MPSNDArrayLUTDequantize", b"initWithDevice:")
|
|
3324
3456
|
objc.registerNewKeywordsFromSelector(
|
|
@@ -3404,6 +3536,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3404
3536
|
"MPSNNCropAndResizeBilinear",
|
|
3405
3537
|
b"initWithDevice:resizeWidth:resizeHeight:numberOfRegions:regions:",
|
|
3406
3538
|
)
|
|
3539
|
+
objc.registerNewKeywordsFromSelector("MPSNNFilterNode", b"init")
|
|
3407
3540
|
objc.registerNewKeywordsFromSelector("MPSNNForwardLoss", b"initWithCoder:device:")
|
|
3408
3541
|
objc.registerNewKeywordsFromSelector("MPSNNForwardLoss", b"initWithDevice:")
|
|
3409
3542
|
objc.registerNewKeywordsFromSelector(
|
|
@@ -3459,6 +3592,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3459
3592
|
)
|
|
3460
3593
|
objc.registerNewKeywordsFromSelector("MPSNNGridSample", b"initWithCoder:device:")
|
|
3461
3594
|
objc.registerNewKeywordsFromSelector("MPSNNGridSample", b"initWithDevice:")
|
|
3595
|
+
objc.registerNewKeywordsFromSelector("MPSNNImageNode", b"init")
|
|
3462
3596
|
objc.registerNewKeywordsFromSelector("MPSNNImageNode", b"initWithHandle:")
|
|
3463
3597
|
objc.registerNewKeywordsFromSelector("MPSNNInitialGradient", b"initWithDevice:")
|
|
3464
3598
|
objc.registerNewKeywordsFromSelector("MPSNNInitialGradientNode", b"initWithSource:")
|
|
@@ -3484,6 +3618,7 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3484
3618
|
"MPSNNLossGradientNode",
|
|
3485
3619
|
b"initWithSources:gradientState:lossDescriptor:isLabelsGradientFilter:",
|
|
3486
3620
|
)
|
|
3621
|
+
objc.registerNewKeywordsFromSelector("MPSNNNeuronDescriptor", b"init")
|
|
3487
3622
|
objc.registerNewKeywordsFromSelector("MPSNNOptimizer", b"initWithDevice:")
|
|
3488
3623
|
objc.registerNewKeywordsFromSelector("MPSNNOptimizerAdam", b"initWithDevice:")
|
|
3489
3624
|
objc.registerNewKeywordsFromSelector(
|
|
@@ -3634,7 +3769,9 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3634
3769
|
)
|
|
3635
3770
|
objc.registerNewKeywordsFromSelector("MPSNNSlice", b"initWithCoder:device:")
|
|
3636
3771
|
objc.registerNewKeywordsFromSelector("MPSNNSlice", b"initWithDevice:")
|
|
3772
|
+
objc.registerNewKeywordsFromSelector("MPSNNStateNode", b"init")
|
|
3637
3773
|
objc.registerNewKeywordsFromSelector("MPSNNUnaryReductionNode", b"initWithSource:")
|
|
3774
|
+
objc.registerNewKeywordsFromSelector("MPSPolygonBuffer", b"init")
|
|
3638
3775
|
objc.registerNewKeywordsFromSelector("MPSPolygonBuffer", b"initWithCoder:")
|
|
3639
3776
|
objc.registerNewKeywordsFromSelector("MPSPredicate", b"initWithBuffer:offset:")
|
|
3640
3777
|
objc.registerNewKeywordsFromSelector("MPSPredicate", b"initWithDevice:")
|
|
@@ -3665,6 +3802,7 @@ objc.registerNewKeywordsFromSelector("MPSRNNMatrixTrainingLayer", b"initWithDevi
|
|
|
3665
3802
|
objc.registerNewKeywordsFromSelector(
|
|
3666
3803
|
"MPSRNNMatrixTrainingLayer", b"initWithDevice:rnnDescriptor:trainableWeights:"
|
|
3667
3804
|
)
|
|
3805
|
+
objc.registerNewKeywordsFromSelector("MPSRayIntersector", b"init")
|
|
3668
3806
|
objc.registerNewKeywordsFromSelector("MPSRayIntersector", b"initWithCoder:device:")
|
|
3669
3807
|
objc.registerNewKeywordsFromSelector("MPSRayIntersector", b"initWithDevice:")
|
|
3670
3808
|
objc.registerNewKeywordsFromSelector("MPSSVGF", b"initWithCoder:device:")
|
|
@@ -3676,11 +3814,13 @@ objc.registerNewKeywordsFromSelector("MPSSVGFDenoiser", b"initWithDevice:")
|
|
|
3676
3814
|
objc.registerNewKeywordsFromSelector(
|
|
3677
3815
|
"MPSSVGFDenoiser", b"initWithSVGF:textureAllocator:"
|
|
3678
3816
|
)
|
|
3817
|
+
objc.registerNewKeywordsFromSelector("MPSState", b"init")
|
|
3679
3818
|
objc.registerNewKeywordsFromSelector("MPSState", b"initWithDevice:bufferSize:")
|
|
3680
3819
|
objc.registerNewKeywordsFromSelector("MPSState", b"initWithDevice:resourceList:")
|
|
3681
3820
|
objc.registerNewKeywordsFromSelector("MPSState", b"initWithDevice:textureDescriptor:")
|
|
3682
3821
|
objc.registerNewKeywordsFromSelector("MPSState", b"initWithResource:")
|
|
3683
3822
|
objc.registerNewKeywordsFromSelector("MPSState", b"initWithResources:")
|
|
3823
|
+
objc.registerNewKeywordsFromSelector("MPSStateResourceList", b"init")
|
|
3684
3824
|
objc.registerNewKeywordsFromSelector("MPSTemporalAA", b"initWithCoder:device:")
|
|
3685
3825
|
objc.registerNewKeywordsFromSelector("MPSTemporalAA", b"initWithDevice:")
|
|
3686
3826
|
objc.registerNewKeywordsFromSelector(
|
|
@@ -3700,9 +3840,210 @@ objc.registerNewKeywordsFromSelector(
|
|
|
3700
3840
|
)
|
|
3701
3841
|
objc.registerNewKeywordsFromSelector("MPSUnaryImageKernel", b"initWithCoder:device:")
|
|
3702
3842
|
objc.registerNewKeywordsFromSelector("MPSUnaryImageKernel", b"initWithDevice:")
|
|
3843
|
+
objc.registerNewKeywordsFromSelector("MPSVector", b"init")
|
|
3703
3844
|
objc.registerNewKeywordsFromSelector("MPSVector", b"initWithBuffer:descriptor:")
|
|
3704
3845
|
objc.registerNewKeywordsFromSelector("MPSVector", b"initWithBuffer:offset:descriptor:")
|
|
3705
3846
|
objc.registerNewKeywordsFromSelector("MPSVector", b"initWithDevice:descriptor:")
|
|
3847
|
+
|
|
3848
|
+
objc.registerNewKeywords(
|
|
3849
|
+
"MPSCNNBatchNormalizationState",
|
|
3850
|
+
("commandBuffer", "bufferSize"),
|
|
3851
|
+
"temporaryStateWithCommandBuffer_bufferSize_",
|
|
3852
|
+
)
|
|
3853
|
+
objc.registerNewKeywords(
|
|
3854
|
+
"MPSCNNBatchNormalizationState",
|
|
3855
|
+
("commandBuffer", "textureDescriptor"),
|
|
3856
|
+
"temporaryStateWithCommandBuffer_textureDescriptor_",
|
|
3857
|
+
)
|
|
3858
|
+
objc.registerNewKeywords(
|
|
3859
|
+
"MPSCNNConvolutionDescriptor",
|
|
3860
|
+
("kernelWidth", "kernelHeight", "inputFeatureChannels", "outputFeatureChannels"),
|
|
3861
|
+
"cnnConvolutionDescriptorWithKernelWidth_kernelHeight_inputFeatureChannels_outputFeatureChannels_",
|
|
3862
|
+
)
|
|
3863
|
+
objc.registerNewKeywords(
|
|
3864
|
+
"MPSCNNConvolutionDescriptor",
|
|
3865
|
+
(
|
|
3866
|
+
"kernelWidth",
|
|
3867
|
+
"kernelHeight",
|
|
3868
|
+
"inputFeatureChannels",
|
|
3869
|
+
"outputFeatureChannels",
|
|
3870
|
+
"neuronFilter",
|
|
3871
|
+
),
|
|
3872
|
+
"cnnConvolutionDescriptorWithKernelWidth_kernelHeight_inputFeatureChannels_outputFeatureChannels_neuronFilter_",
|
|
3873
|
+
)
|
|
3874
|
+
objc.registerNewKeywords(
|
|
3875
|
+
"MPSCNNConvolutionWeightsAndBiasesState",
|
|
3876
|
+
("commandBuffer", "cnnConvolutionDescriptor"),
|
|
3877
|
+
"temporaryCNNConvolutionWeightsAndBiasesStateWithCommandBuffer_cnnConvolutionDescriptor_",
|
|
3878
|
+
)
|
|
3879
|
+
objc.registerNewKeywords(
|
|
3880
|
+
"MPSCNNGroupNormalizationGradientState",
|
|
3881
|
+
("commandBuffer",),
|
|
3882
|
+
"temporaryStateWithCommandBuffer_",
|
|
3883
|
+
)
|
|
3884
|
+
objc.registerNewKeywords(
|
|
3885
|
+
"MPSCNNGroupNormalizationGradientState",
|
|
3886
|
+
("commandBuffer", "bufferSize"),
|
|
3887
|
+
"temporaryStateWithCommandBuffer_bufferSize_",
|
|
3888
|
+
)
|
|
3889
|
+
objc.registerNewKeywords(
|
|
3890
|
+
"MPSCNNGroupNormalizationGradientState",
|
|
3891
|
+
("commandBuffer", "textureDescriptor"),
|
|
3892
|
+
"temporaryStateWithCommandBuffer_textureDescriptor_",
|
|
3893
|
+
)
|
|
3894
|
+
objc.registerNewKeywords(
|
|
3895
|
+
"MPSCNNInstanceNormalizationGradientState",
|
|
3896
|
+
("commandBuffer",),
|
|
3897
|
+
"temporaryStateWithCommandBuffer_",
|
|
3898
|
+
)
|
|
3899
|
+
objc.registerNewKeywords(
|
|
3900
|
+
"MPSCNNInstanceNormalizationGradientState",
|
|
3901
|
+
("commandBuffer", "bufferSize"),
|
|
3902
|
+
"temporaryStateWithCommandBuffer_bufferSize_",
|
|
3903
|
+
)
|
|
3904
|
+
objc.registerNewKeywords(
|
|
3905
|
+
"MPSCNNInstanceNormalizationGradientState",
|
|
3906
|
+
("commandBuffer", "textureDescriptor"),
|
|
3907
|
+
"temporaryStateWithCommandBuffer_textureDescriptor_",
|
|
3908
|
+
)
|
|
3909
|
+
objc.registerNewKeywords(
|
|
3910
|
+
"MPSCNNNeuronNode", ("source", "descriptor"), "nodeWithSource_descriptor_"
|
|
3911
|
+
)
|
|
3912
|
+
objc.registerNewKeywords(
|
|
3913
|
+
"MPSCNNNormalizationGammaAndBetaState",
|
|
3914
|
+
("commandBuffer", "numberOfFeatureChannels"),
|
|
3915
|
+
"temporaryStateWithCommandBuffer_numberOfFeatureChannels_",
|
|
3916
|
+
)
|
|
3917
|
+
objc.registerNewKeywords(
|
|
3918
|
+
"MPSCNNNormalizationMeanAndVarianceState",
|
|
3919
|
+
("commandBuffer", "numberOfFeatureChannels"),
|
|
3920
|
+
"temporaryStateWithCommandBuffer_numberOfFeatureChannels_",
|
|
3921
|
+
)
|
|
3922
|
+
objc.registerNewKeywords(
|
|
3923
|
+
"MPSGRUDescriptor",
|
|
3924
|
+
("inputFeatureChannels", "outputFeatureChannels"),
|
|
3925
|
+
"createGRUDescriptorWithInputFeatureChannels_outputFeatureChannels_",
|
|
3926
|
+
)
|
|
3927
|
+
objc.registerNewKeywords(
|
|
3928
|
+
"MPSImageDescriptor",
|
|
3929
|
+
("channelFormat", "width", "height", "featureChannels"),
|
|
3930
|
+
"imageDescriptorWithChannelFormat_width_height_featureChannels_",
|
|
3931
|
+
)
|
|
3932
|
+
objc.registerNewKeywords(
|
|
3933
|
+
"MPSImageDescriptor",
|
|
3934
|
+
("channelFormat", "width", "height", "featureChannels", "numberOfImages", "usage"),
|
|
3935
|
+
"imageDescriptorWithChannelFormat_width_height_featureChannels_numberOfImages_usage_",
|
|
3936
|
+
)
|
|
3937
|
+
objc.registerNewKeywords(
|
|
3938
|
+
"MPSLSTMDescriptor",
|
|
3939
|
+
("inputFeatureChannels", "outputFeatureChannels"),
|
|
3940
|
+
"createLSTMDescriptorWithInputFeatureChannels_outputFeatureChannels_",
|
|
3941
|
+
)
|
|
3942
|
+
objc.registerNewKeywords(
|
|
3943
|
+
"MPSMatrixCopyDescriptor",
|
|
3944
|
+
("sourceMatrix", "destinationMatrix", "offsets"),
|
|
3945
|
+
"descriptorWithSourceMatrix_destinationMatrix_offsets_",
|
|
3946
|
+
)
|
|
3947
|
+
objc.registerNewKeywords(
|
|
3948
|
+
"MPSMatrixDescriptor",
|
|
3949
|
+
("dimensions", "columns", "rowBytes", "dataType"),
|
|
3950
|
+
"matrixDescriptorWithDimensions_columns_rowBytes_dataType_",
|
|
3951
|
+
)
|
|
3952
|
+
objc.registerNewKeywords(
|
|
3953
|
+
"MPSMatrixDescriptor",
|
|
3954
|
+
("rows", "columns", "matrices", "rowBytes", "matrixBytes", "dataType"),
|
|
3955
|
+
"matrixDescriptorWithRows_columns_matrices_rowBytes_matrixBytes_dataType_",
|
|
3956
|
+
)
|
|
3957
|
+
objc.registerNewKeywords(
|
|
3958
|
+
"MPSMatrixDescriptor",
|
|
3959
|
+
("rows", "columns", "rowBytes", "dataType"),
|
|
3960
|
+
"matrixDescriptorWithRows_columns_rowBytes_dataType_",
|
|
3961
|
+
)
|
|
3962
|
+
objc.registerNewKeywords(
|
|
3963
|
+
"MPSNDArrayDescriptor",
|
|
3964
|
+
("dataType", "dimensionCount", "dimensionSizes"),
|
|
3965
|
+
"descriptorWithDataType_dimensionCount_dimensionSizes_",
|
|
3966
|
+
)
|
|
3967
|
+
objc.registerNewKeywords(
|
|
3968
|
+
"MPSNDArrayDescriptor",
|
|
3969
|
+
("dataType", "dimensionSizes"),
|
|
3970
|
+
"descriptorWithDataType_dimensionSizes_",
|
|
3971
|
+
)
|
|
3972
|
+
objc.registerNewKeywords(
|
|
3973
|
+
"MPSNDArrayDescriptor", ("dataType", "shape"), "descriptorWithDataType_shape_"
|
|
3974
|
+
)
|
|
3975
|
+
objc.registerNewKeywords("MPSNNDefaultPadding", ("method",), "paddingWithMethod_")
|
|
3976
|
+
objc.registerNewKeywords(
|
|
3977
|
+
"MPSRNNSingleGateDescriptor",
|
|
3978
|
+
("inputFeatureChannels", "outputFeatureChannels"),
|
|
3979
|
+
"createRNNSingleGateDescriptorWithInputFeatureChannels_outputFeatureChannels_",
|
|
3980
|
+
)
|
|
3981
|
+
objc.registerNewKeywords(
|
|
3982
|
+
"MPSState", ("commandBuffer",), "temporaryStateWithCommandBuffer_"
|
|
3983
|
+
)
|
|
3984
|
+
objc.registerNewKeywords(
|
|
3985
|
+
"MPSState",
|
|
3986
|
+
("commandBuffer", "bufferSize"),
|
|
3987
|
+
"temporaryStateWithCommandBuffer_bufferSize_",
|
|
3988
|
+
)
|
|
3989
|
+
objc.registerNewKeywords(
|
|
3990
|
+
"MPSState",
|
|
3991
|
+
("commandBuffer", "resourceList"),
|
|
3992
|
+
"temporaryStateWithCommandBuffer_resourceList_",
|
|
3993
|
+
)
|
|
3994
|
+
objc.registerNewKeywords(
|
|
3995
|
+
"MPSState",
|
|
3996
|
+
("commandBuffer", "textureDescriptor"),
|
|
3997
|
+
"temporaryStateWithCommandBuffer_textureDescriptor_",
|
|
3998
|
+
)
|
|
3999
|
+
objc.registerNewKeywords(
|
|
4000
|
+
"MPSStateResourceList", ("bufferSizes",), "resourceListWithBufferSizes_"
|
|
4001
|
+
)
|
|
4002
|
+
objc.registerNewKeywords(
|
|
4003
|
+
"MPSStateResourceList",
|
|
4004
|
+
("textureDescriptors",),
|
|
4005
|
+
"resourceListWithTextureDescriptors_",
|
|
4006
|
+
)
|
|
4007
|
+
objc.registerNewKeywords(
|
|
4008
|
+
"MPSTemporaryImage",
|
|
4009
|
+
("commandBuffer", "imageDescriptor"),
|
|
4010
|
+
"temporaryImageWithCommandBuffer_imageDescriptor_",
|
|
4011
|
+
)
|
|
4012
|
+
objc.registerNewKeywords(
|
|
4013
|
+
"MPSTemporaryImage",
|
|
4014
|
+
("commandBuffer", "textureDescriptor"),
|
|
4015
|
+
"temporaryImageWithCommandBuffer_textureDescriptor_",
|
|
4016
|
+
)
|
|
4017
|
+
objc.registerNewKeywords(
|
|
4018
|
+
"MPSTemporaryImage",
|
|
4019
|
+
("commandBuffer", "textureDescriptor", "featureChannels"),
|
|
4020
|
+
"temporaryImageWithCommandBuffer_textureDescriptor_featureChannels_",
|
|
4021
|
+
)
|
|
4022
|
+
objc.registerNewKeywords(
|
|
4023
|
+
"MPSTemporaryMatrix",
|
|
4024
|
+
("commandBuffer", "matrixDescriptor"),
|
|
4025
|
+
"temporaryMatrixWithCommandBuffer_matrixDescriptor_",
|
|
4026
|
+
)
|
|
4027
|
+
objc.registerNewKeywords(
|
|
4028
|
+
"MPSTemporaryNDArray",
|
|
4029
|
+
("commandBuffer", "descriptor"),
|
|
4030
|
+
"temporaryNDArrayWithCommandBuffer_descriptor_",
|
|
4031
|
+
)
|
|
4032
|
+
objc.registerNewKeywords(
|
|
4033
|
+
"MPSTemporaryVector",
|
|
4034
|
+
("commandBuffer", "descriptor"),
|
|
4035
|
+
"temporaryVectorWithCommandBuffer_descriptor_",
|
|
4036
|
+
)
|
|
4037
|
+
objc.registerNewKeywords(
|
|
4038
|
+
"MPSVectorDescriptor",
|
|
4039
|
+
("length", "dataType"),
|
|
4040
|
+
"vectorDescriptorWithLength_dataType_",
|
|
4041
|
+
)
|
|
4042
|
+
objc.registerNewKeywords(
|
|
4043
|
+
"MPSVectorDescriptor",
|
|
4044
|
+
("length", "vectors", "vectorBytes", "dataType"),
|
|
4045
|
+
"vectorDescriptorWithLength_vectors_vectorBytes_dataType_",
|
|
4046
|
+
)
|
|
3706
4047
|
expressions = {
|
|
3707
4048
|
"MPSUserAvailableFunctionConstantStartIndex": "MPSDeviceCapsIndex-12",
|
|
3708
4049
|
"MPSNDArrayConstantMultiDestSrcAddressingIndex": "MPSDeviceCapsIndex-10",
|
|
@@ -3710,12 +4051,12 @@ expressions = {
|
|
|
3710
4051
|
"MPSNDArrayConstantMultiDestDstAddressingIndex": "MPSDeviceCapsIndex-11",
|
|
3711
4052
|
"MPSTextureLinkingConstantIndex": "MPSDeviceCapsIndex-6",
|
|
3712
4053
|
"MPSFunctionConstantIndex": "MPSDeviceCapsIndex-1",
|
|
3713
|
-
"
|
|
4054
|
+
"MPSFunctionConstantNoneArray": "(-1, -1)",
|
|
3714
4055
|
"MPSNDArrayConstantIndex": "MPSDeviceCapsIndex-4",
|
|
3715
4056
|
"MPSNDArrayConstantMultiDestIndex1": "MPSDeviceCapsIndex-9",
|
|
3716
4057
|
"MPSBatchSizeIndex": "MPSDeviceCapsIndex-2",
|
|
3717
4058
|
"MPSFunctionConstantIndexReserved": "MPSDeviceCapsIndex-5",
|
|
3718
|
-
"
|
|
4059
|
+
"MPSNDArrayConstantMultiDestIndex0": "MPSDeviceCapsIndex-8",
|
|
3719
4060
|
"MPSUserConstantIndex": "MPSDeviceCapsIndex-3",
|
|
3720
4061
|
}
|
|
3721
4062
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-MetalPerformanceShaders
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.2.2
|
|
4
4
|
Summary: Wrappers for the framework MetalPerformanceShaders on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,20 +17,21 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
27
28
|
Classifier: Programming Language :: Objective C
|
|
28
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
31
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Metal>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Metal>=12.2.2
|
|
34
35
|
Dynamic: author
|
|
35
36
|
Dynamic: author-email
|
|
36
37
|
Dynamic: classifier
|