pyobjc-framework-MetalPerformanceShadersGraph 11.1__tar.gz → 12.1__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.
Files changed (49) hide show
  1. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/Lib/MetalPerformanceShadersGraph/_metadata.py +23 -139
  2. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/PKG-INFO +6 -5
  3. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/SOURCES.txt +2 -9
  4. pyobjc_framework_metalperformanceshadersgraph-12.1/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_metalperformanceshadersgraph-12.1/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PKG-INFO +6 -5
  7. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraph.py +19 -0
  8. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/arm64-15.0.fwinfo → pyobjc_framework_metalperformanceshadersgraph-12.1/metadata/raw/arm64-26.0.fwinfo +238 -3
  9. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/x86_64-15.0.fwinfo → pyobjc_framework_metalperformanceshadersgraph-12.1/metadata/raw/x86_64-26.0.fwinfo +238 -3
  10. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/pyobjc_setup.py +5 -4
  11. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/setup.py +1 -1
  12. pyobjc_framework_metalperformanceshadersgraph-11.1/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/pyobjc-build-info.txt +0 -3
  13. pyobjc_framework_metalperformanceshadersgraph-11.1/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/requires.txt +0 -2
  14. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/arm64-12.3.fwinfo +0 -10962
  15. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/arm64-13.3.fwinfo +0 -15844
  16. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/arm64-14.5.fwinfo +0 -17822
  17. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/x86_64-10.16.fwinfo +0 -5921
  18. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/x86_64-12.3.fwinfo +0 -10962
  19. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/x86_64-13.3.fwinfo +0 -15844
  20. pyobjc_framework_metalperformanceshadersgraph-11.1/metadata/raw/x86_64-14.5.fwinfo +0 -17822
  21. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/Lib/MetalPerformanceShadersGraph/__init__.py +0 -0
  22. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/dependency_links.txt +0 -0
  23. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/not-zip-safe +0 -0
  24. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/Lib/pyobjc_framework_MetalPerformanceShadersGraph.egg-info/top_level.txt +0 -0
  25. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/License.txt +0 -0
  26. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/MANIFEST.in +0 -0
  27. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/__init__.py +0 -0
  28. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_metalperformanceshadersgraph.py +0 -0
  29. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphcontrolflowops.py +0 -0
  30. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphcore.py +0 -0
  31. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphcumulativeops.py +0 -0
  32. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphdevice.py +0 -0
  33. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphexecutable.py +0 -0
  34. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphfouriertransformops.py +0 -0
  35. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphlossops.py +0 -0
  36. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphnonmaximumsuppressionops.py +0 -0
  37. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphpoolingops.py +0 -0
  38. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphrandomops.py +0 -0
  39. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphresizeops.py +0 -0
  40. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphrnnops.py +0 -0
  41. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphsamplegridops.py +0 -0
  42. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphscatterndops.py +0 -0
  43. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphsortops.py +0 -0
  44. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphsparseops.py +0 -0
  45. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/PyObjCTest/test_mpsgraphtensorshapeops.py +0 -0
  46. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/metadata/MetalPerformanceShadersGraph.fwinfo +0 -0
  47. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/metadata/metadata.ini +0 -0
  48. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/pyproject.toml +0 -0
  49. {pyobjc_framework_metalperformanceshadersgraph-11.1 → pyobjc_framework_metalperformanceshadersgraph-12.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Tue Jun 11 10:15:24 2024
3
+ # Last update: Fri Aug 8 15:58:39 2025
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -31,44 +31,49 @@ else:
31
31
 
32
32
  misc = {}
33
33
  constants = """$$"""
34
- enums = """$MPSGraphDeploymentPlatformIOS@1$MPSGraphDeploymentPlatformMacOS@0$MPSGraphDeploymentPlatformTvOS@2$MPSGraphDeploymentPlatformVisionOS@3$MPSGraphDeviceTypeMetal@0$MPSGraphExecutionStageCompleted@0$MPSGraphFFTScalingModeNone@0$MPSGraphFFTScalingModeSize@1$MPSGraphFFTScalingModeUnitary@2$MPSGraphLossReductionTypeAxis@0$MPSGraphLossReductionTypeMean@2$MPSGraphLossReductionTypeNone@0$MPSGraphLossReductionTypeSum@1$MPSGraphNonMaximumSuppressionCoordinateModeCentersHeightFirst@2$MPSGraphNonMaximumSuppressionCoordinateModeCentersWidthFirst@3$MPSGraphNonMaximumSuppressionCoordinateModeCornersHeightFirst@0$MPSGraphNonMaximumSuppressionCoordinateModeCornersWidthFirst@1$MPSGraphOptimizationLevel0@0$MPSGraphOptimizationLevel1@1$MPSGraphOptimizationProfilePerformance@0$MPSGraphOptimizationProfilePowerEfficiency@1$MPSGraphOptionsDefault@1$MPSGraphOptionsNone@0$MPSGraphOptionsSynchronizeResults@1$MPSGraphOptionsVerbose@2$MPSGraphPaddingModeAntiPeriodic@6$MPSGraphPaddingModeClampToEdge@3$MPSGraphPaddingModeConstant@0$MPSGraphPaddingModePeriodic@5$MPSGraphPaddingModeReflect@1$MPSGraphPaddingModeSymmetric@2$MPSGraphPaddingModeZero@4$MPSGraphPaddingStyleExplicit@0$MPSGraphPaddingStyleExplicitOffset@3$MPSGraphPaddingStyleONNX_SAME_LOWER@4$MPSGraphPaddingStyleTF_SAME@2$MPSGraphPaddingStyleTF_VALID@1$MPSGraphPoolingReturnIndicesGlobalFlatten1D@1$MPSGraphPoolingReturnIndicesGlobalFlatten2D@2$MPSGraphPoolingReturnIndicesGlobalFlatten3D@3$MPSGraphPoolingReturnIndicesGlobalFlatten4D@4$MPSGraphPoolingReturnIndicesLocalFlatten1D@5$MPSGraphPoolingReturnIndicesLocalFlatten2D@6$MPSGraphPoolingReturnIndicesLocalFlatten3D@7$MPSGraphPoolingReturnIndicesLocalFlatten4D@8$MPSGraphPoolingReturnIndicesNone@0$MPSGraphRNNActivationHardSigmoid@4$MPSGraphRNNActivationNone@0$MPSGraphRNNActivationRelu@1$MPSGraphRNNActivationSigmoid@3$MPSGraphRNNActivationTanh@2$MPSGraphRandomDistributionNormal@1$MPSGraphRandomDistributionTruncatedNormal@2$MPSGraphRandomDistributionUniform@0$MPSGraphRandomNormalSamplingBoxMuller@1$MPSGraphRandomNormalSamplingInvCDF@0$MPSGraphReductionModeArgumentMax@5$MPSGraphReductionModeArgumentMin@4$MPSGraphReductionModeMax@1$MPSGraphReductionModeMin@0$MPSGraphReductionModeProduct@3$MPSGraphReductionModeSum@2$MPSGraphResizeBilinear@1$MPSGraphResizeNearest@0$MPSGraphResizeNearestRoundingModeCeil@2$MPSGraphResizeNearestRoundingModeFloor@3$MPSGraphResizeNearestRoundingModeRoundPreferCeil@0$MPSGraphResizeNearestRoundingModeRoundPreferFloor@1$MPSGraphResizeNearestRoundingModeRoundToEven@4$MPSGraphResizeNearestRoundingModeRoundToOdd@5$MPSGraphScatterModeAdd@0$MPSGraphScatterModeDiv@3$MPSGraphScatterModeMax@5$MPSGraphScatterModeMin@4$MPSGraphScatterModeMul@2$MPSGraphScatterModeSet@6$MPSGraphScatterModeSub@1$MPSGraphSparseStorageCOO@0$MPSGraphSparseStorageCSC@1$MPSGraphSparseStorageCSR@2$MPSGraphTensorNamedDataLayoutCHW@4$MPSGraphTensorNamedDataLayoutDHWIO@10$MPSGraphTensorNamedDataLayoutHW@6$MPSGraphTensorNamedDataLayoutHWC@5$MPSGraphTensorNamedDataLayoutHWIO@3$MPSGraphTensorNamedDataLayoutNCDHW@7$MPSGraphTensorNamedDataLayoutNCHW@0$MPSGraphTensorNamedDataLayoutNDHWC@8$MPSGraphTensorNamedDataLayoutNHWC@1$MPSGraphTensorNamedDataLayoutOIDHW@9$MPSGraphTensorNamedDataLayoutOIHW@2$"""
34
+ enums = """$MPSGraphDeploymentPlatformIOS@1$MPSGraphDeploymentPlatformMacOS@0$MPSGraphDeploymentPlatformTvOS@2$MPSGraphDeploymentPlatformVisionOS@3$MPSGraphDeviceTypeMetal@0$MPSGraphExecutionStageCompleted@0$MPSGraphFFTScalingModeNone@0$MPSGraphFFTScalingModeSize@1$MPSGraphFFTScalingModeUnitary@2$MPSGraphLossReductionTypeAxis@0$MPSGraphLossReductionTypeMean@2$MPSGraphLossReductionTypeNone@0$MPSGraphLossReductionTypeSum@1$MPSGraphNonMaximumSuppressionCoordinateModeCentersHeightFirst@2$MPSGraphNonMaximumSuppressionCoordinateModeCentersWidthFirst@3$MPSGraphNonMaximumSuppressionCoordinateModeCornersHeightFirst@0$MPSGraphNonMaximumSuppressionCoordinateModeCornersWidthFirst@1$MPSGraphOptimizationLevel0@0$MPSGraphOptimizationLevel1@1$MPSGraphOptimizationProfilePerformance@0$MPSGraphOptimizationProfilePowerEfficiency@1$MPSGraphOptionsDefault@1$MPSGraphOptionsNone@0$MPSGraphOptionsSynchronizeResults@1$MPSGraphOptionsVerbose@2$MPSGraphPaddingModeAntiPeriodic@6$MPSGraphPaddingModeClampToEdge@3$MPSGraphPaddingModeConstant@0$MPSGraphPaddingModePeriodic@5$MPSGraphPaddingModeReflect@1$MPSGraphPaddingModeSymmetric@2$MPSGraphPaddingModeZero@4$MPSGraphPaddingStyleExplicit@0$MPSGraphPaddingStyleExplicitOffset@3$MPSGraphPaddingStyleONNX_SAME_LOWER@4$MPSGraphPaddingStyleTF_SAME@2$MPSGraphPaddingStyleTF_VALID@1$MPSGraphPoolingReturnIndicesGlobalFlatten1D@1$MPSGraphPoolingReturnIndicesGlobalFlatten2D@2$MPSGraphPoolingReturnIndicesGlobalFlatten3D@3$MPSGraphPoolingReturnIndicesGlobalFlatten4D@4$MPSGraphPoolingReturnIndicesLocalFlatten1D@5$MPSGraphPoolingReturnIndicesLocalFlatten2D@6$MPSGraphPoolingReturnIndicesLocalFlatten3D@7$MPSGraphPoolingReturnIndicesLocalFlatten4D@8$MPSGraphPoolingReturnIndicesNone@0$MPSGraphRNNActivationHardSigmoid@4$MPSGraphRNNActivationNone@0$MPSGraphRNNActivationRelu@1$MPSGraphRNNActivationSigmoid@3$MPSGraphRNNActivationTanh@2$MPSGraphRandomDistributionNormal@1$MPSGraphRandomDistributionTruncatedNormal@2$MPSGraphRandomDistributionUniform@0$MPSGraphRandomNormalSamplingBoxMuller@1$MPSGraphRandomNormalSamplingInvCDF@0$MPSGraphReducedPrecisionFastMathAllowFP16Conv2DWinogradTransformIntermediate@2$MPSGraphReducedPrecisionFastMathAllowFP16Intermediates@2$MPSGraphReducedPrecisionFastMathDefault@0$MPSGraphReducedPrecisionFastMathNone@0$MPSGraphReductionModeArgumentMax@5$MPSGraphReductionModeArgumentMin@4$MPSGraphReductionModeMax@1$MPSGraphReductionModeMin@0$MPSGraphReductionModeProduct@3$MPSGraphReductionModeSum@2$MPSGraphResizeBilinear@1$MPSGraphResizeNearest@0$MPSGraphResizeNearestRoundingModeCeil@2$MPSGraphResizeNearestRoundingModeFloor@3$MPSGraphResizeNearestRoundingModeRoundPreferCeil@0$MPSGraphResizeNearestRoundingModeRoundPreferFloor@1$MPSGraphResizeNearestRoundingModeRoundToEven@4$MPSGraphResizeNearestRoundingModeRoundToOdd@5$MPSGraphScatterModeAdd@0$MPSGraphScatterModeDiv@3$MPSGraphScatterModeMax@5$MPSGraphScatterModeMin@4$MPSGraphScatterModeMul@2$MPSGraphScatterModeSet@6$MPSGraphScatterModeSub@1$MPSGraphSparseStorageCOO@0$MPSGraphSparseStorageCSC@1$MPSGraphSparseStorageCSR@2$MPSGraphTensorNamedDataLayoutCHW@4$MPSGraphTensorNamedDataLayoutDHWIO@10$MPSGraphTensorNamedDataLayoutHW@6$MPSGraphTensorNamedDataLayoutHWC@5$MPSGraphTensorNamedDataLayoutHWIO@3$MPSGraphTensorNamedDataLayoutNCDHW@7$MPSGraphTensorNamedDataLayoutNCHW@0$MPSGraphTensorNamedDataLayoutNDHWC@8$MPSGraphTensorNamedDataLayoutNHWC@1$MPSGraphTensorNamedDataLayoutOIDHW@9$MPSGraphTensorNamedDataLayoutOIHW@2$"""
35
35
  misc.update(
36
36
  {
37
- "MPSGraphOptimizationProfile": NewType("MPSGraphOptimizationProfile", int),
38
- "MPSGraphTensorNamedDataLayout": NewType("MPSGraphTensorNamedDataLayout", int),
39
37
  "MPSGraphReductionMode": NewType("MPSGraphReductionMode", int),
40
- "MPSGraphFFTScalingMode": NewType("MPSGraphFFTScalingMode", int),
41
- "MPSGraphRNNActivation": NewType("MPSGraphRNNActivation", int),
42
38
  "MPSGraphDeploymentPlatform": NewType("MPSGraphDeploymentPlatform", int),
43
- "MPSGraphOptimization": NewType("MPSGraphOptimization", int),
39
+ "MPSGraphRNNActivation": NewType("MPSGraphRNNActivation", int),
40
+ "MPSGraphRandomDistribution": NewType("MPSGraphRandomDistribution", int),
44
41
  "MPSGraphPaddingMode": NewType("MPSGraphPaddingMode", int),
45
- "MPSGraphPoolingReturnIndicesMode": NewType(
46
- "MPSGraphPoolingReturnIndicesMode", int
47
- ),
42
+ "MPSGraphSparseStorageType": NewType("MPSGraphSparseStorageType", int),
43
+ "MPSGraphOptimization": NewType("MPSGraphOptimization", int),
48
44
  "MPSGraphDeviceType": NewType("MPSGraphDeviceType", int),
45
+ "MPSGraphRandomNormalSamplingMethod": NewType(
46
+ "MPSGraphRandomNormalSamplingMethod", int
47
+ ),
48
+ "MPSGraphOptimizationProfile": NewType("MPSGraphOptimizationProfile", int),
49
+ "MPSGraphFFTScalingMode": NewType("MPSGraphFFTScalingMode", int),
49
50
  "MPSGraphPaddingStyle": NewType("MPSGraphPaddingStyle", int),
51
+ "MPSGraphReducedPrecisionFastMath": NewType(
52
+ "MPSGraphReducedPrecisionFastMath", int
53
+ ),
54
+ "MPSGraphOptions": NewType("MPSGraphOptions", int),
50
55
  "MPSGraphNonMaximumSuppressionCoordinateMode": NewType(
51
56
  "MPSGraphNonMaximumSuppressionCoordinateMode", int
52
57
  ),
53
- "MPSGraphOptions": NewType("MPSGraphOptions", int),
54
- "MPSGraphExecutionStage": NewType("MPSGraphExecutionStage", int),
58
+ "MPSGraphPoolingReturnIndicesMode": NewType(
59
+ "MPSGraphPoolingReturnIndicesMode", int
60
+ ),
55
61
  "MPSGraphResizeMode": NewType("MPSGraphResizeMode", int),
56
62
  "MPSGraphLossReductionType": NewType("MPSGraphLossReductionType", int),
57
63
  "MPSGraphResizeNearestRoundingMode": NewType(
58
64
  "MPSGraphResizeNearestRoundingMode", int
59
65
  ),
60
- "MPSGraphRandomNormalSamplingMethod": NewType(
61
- "MPSGraphRandomNormalSamplingMethod", int
62
- ),
66
+ "MPSGraphExecutionStage": NewType("MPSGraphExecutionStage", int),
63
67
  "MPSGraphScatterMode": NewType("MPSGraphScatterMode", int),
64
- "MPSGraphRandomDistribution": NewType("MPSGraphRandomDistribution", int),
65
- "MPSGraphSparseStorageType": NewType("MPSGraphSparseStorageType", int),
68
+ "MPSGraphTensorNamedDataLayout": NewType("MPSGraphTensorNamedDataLayout", int),
66
69
  }
67
70
  )
68
71
  misc.update({})
69
72
  misc.update({})
70
73
  aliases = {
71
74
  "MPSGraphLossReductionTypeAxis": "MPSGraphLossReductionTypeNone",
75
+ "MPSGraphReducedPrecisionFastMathAllowFP16Intermediates": "MPSGraphReducedPrecisionFastMathAllowFP16Conv2DWinogradTransformIntermediate",
76
+ "MPSGraphReducedPrecisionFastMathDefault": "MPSGraphReducedPrecisionFastMathNone",
72
77
  "MPSGraphOptionsDefault": "MPSGraphOptionsSynchronizeResults",
73
78
  }
74
79
  r = objc.registerMetaDataForSelector
@@ -638,128 +643,6 @@ try:
638
643
  {"arguments": {2: {"type": "Z"}}},
639
644
  )
640
645
  r(b"MPSGraphSingleGateRNNDescriptor", b"training", {"retval": {"type": "Z"}})
641
- r(
642
- b"null",
643
- b"concatTensors:dimension:interleave:name:",
644
- {"arguments": {4: {"type": b"Z"}}},
645
- )
646
- r(
647
- b"null",
648
- b"controlDependencyWithOperations:dependentBlock:name:",
649
- {
650
- "arguments": {
651
- 3: {
652
- "callable": {
653
- "retval": {"type": b"@?"},
654
- "arguments": {0: {"type": b"^v"}},
655
- }
656
- }
657
- }
658
- },
659
- )
660
- r(
661
- b"null",
662
- b"depthToSpace2DTensor:widthAxis:heightAxis:depthAxis:blockSize:usePixelShuffleOrder:name:",
663
- {"arguments": {7: {"type": b"Z"}}},
664
- )
665
- r(
666
- b"null",
667
- b"depthToSpace2DTensor:widthAxisTensor:heightAxisTensor:depthAxisTensor:blockSize:usePixelShuffleOrder:name:",
668
- {"arguments": {7: {"type": b"Z"}}},
669
- )
670
- r(
671
- b"null",
672
- b"forLoopWithLowerBound:upperBound:step:initialBodyArguments:body:name:",
673
- {
674
- "arguments": {
675
- 6: {
676
- "callable": {
677
- "retval": {"type": b"@?"},
678
- "arguments": {0: {"type": b"^v"}},
679
- }
680
- }
681
- }
682
- },
683
- )
684
- r(
685
- b"null",
686
- b"forLoopWithNumberOfIterations:initialBodyArguments:body:name:",
687
- {
688
- "arguments": {
689
- 4: {
690
- "callable": {
691
- "retval": {"type": b"@?"},
692
- "arguments": {0: {"type": b"^v"}},
693
- }
694
- }
695
- }
696
- },
697
- )
698
- r(
699
- b"null",
700
- b"ifWithPredicateTensor:thenBlock:elseBlock:name:",
701
- {
702
- "arguments": {
703
- 3: {
704
- "callable": {
705
- "retval": {"type": b"@?"},
706
- "arguments": {0: {"type": b"^v"}},
707
- }
708
- },
709
- 4: {
710
- "callable": {
711
- "retval": {"type": b"@?"},
712
- "arguments": {0: {"type": b"^v"}},
713
- }
714
- },
715
- }
716
- },
717
- )
718
- r(
719
- b"null",
720
- b"resizeTensor:size:mode:centerResult:alignCorners:layout:name:",
721
- {"arguments": {5: {"type": b"Z"}, 6: {"type": b"Z"}}},
722
- )
723
- r(
724
- b"null",
725
- b"resizeTensor:sizeTensor:mode:centerResult:alignCorners:layout:name:",
726
- {"arguments": {5: {"type": b"Z"}, 6: {"type": b"Z"}}},
727
- )
728
- r(
729
- b"null",
730
- b"resizeWithGradientTensor:input:mode:centerResult:alignCorners:layout:name:",
731
- {"arguments": {5: {"type": b"Z"}, 6: {"type": b"Z"}}},
732
- )
733
- r(
734
- b"null",
735
- b"spaceToDepth2DTensor:widthAxis:heightAxis:depthAxis:blockSize:usePixelShuffleOrder:name:",
736
- {"arguments": {7: {"type": b"Z"}}},
737
- )
738
- r(
739
- b"null",
740
- b"spaceToDepth2DTensor:widthAxisTensor:heightAxisTensor:depthAxisTensor:blockSize:usePixelShuffleOrder:name:",
741
- {"arguments": {7: {"type": b"Z"}}},
742
- )
743
- r(
744
- b"null",
745
- b"whileWithInitialInputs:before:after:name:",
746
- {
747
- "arguments": {
748
- 3: {
749
- "callable": {
750
- "retval": {"type": b"@?"},
751
- "arguments": {0: {"type": b"^v"}},
752
- }
753
- },
754
- 4: {
755
- "callable": {
756
- "retval": {"type": b"@?"},
757
- "arguments": {0: {"type": b"^v"}},
758
- }
759
- },
760
- }
761
- },
762
- )
763
646
  finally:
764
647
  objc._updatingMetadata(False)
765
648
 
@@ -785,6 +668,7 @@ objc.registerNewKeywordsFromSelector(
785
668
  objc.registerNewKeywordsFromSelector(
786
669
  "MPSGraphTensorData", b"initWithMTLBuffer:shape:dataType:rowBytes:"
787
670
  )
671
+ objc.registerNewKeywordsFromSelector("MPSGraphTensorData", b"initWithMTLTensor:")
788
672
  expressions = {}
789
673
 
790
674
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-MetalPerformanceShadersGraph
3
- Version: 11.1
3
+ Version: 12.1
4
4
  Summary: Wrappers for the framework MetalPerformanceShadersGraph 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.9
31
+ Requires-Python: >=3.10
31
32
  Description-Content-Type: text/x-rst; charset=UTF-8
32
- Requires-Dist: pyobjc-core>=11.1
33
- Requires-Dist: pyobjc-framework-MetalPerformanceShaders>=11.1
33
+ Requires-Dist: pyobjc-core>=12.1
34
+ Requires-Dist: pyobjc-framework-MetalPerformanceShaders>=12.1
34
35
  Dynamic: author
35
36
  Dynamic: author-email
36
37
  Dynamic: classifier
@@ -35,12 +35,5 @@ PyObjCTest/test_mpsgraphsparseops.py
35
35
  PyObjCTest/test_mpsgraphtensorshapeops.py
36
36
  metadata/MetalPerformanceShadersGraph.fwinfo
37
37
  metadata/metadata.ini
38
- metadata/raw/arm64-12.3.fwinfo
39
- metadata/raw/arm64-13.3.fwinfo
40
- metadata/raw/arm64-14.5.fwinfo
41
- metadata/raw/arm64-15.0.fwinfo
42
- metadata/raw/x86_64-10.16.fwinfo
43
- metadata/raw/x86_64-12.3.fwinfo
44
- metadata/raw/x86_64-13.3.fwinfo
45
- metadata/raw/x86_64-14.5.fwinfo
46
- metadata/raw/x86_64-15.0.fwinfo
38
+ metadata/raw/arm64-26.0.fwinfo
39
+ metadata/raw/x86_64-26.0.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 26.1 (25B77)
2
+ Apple clang version 17.0.0 (clang-1700.4.4.1)
3
+ SDK: macOS 26.1
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=12.1
2
+ pyobjc-framework-MetalPerformanceShaders>=12.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-MetalPerformanceShadersGraph
3
- Version: 11.1
3
+ Version: 12.1
4
4
  Summary: Wrappers for the framework MetalPerformanceShadersGraph 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.9
31
+ Requires-Python: >=3.10
31
32
  Description-Content-Type: text/x-rst; charset=UTF-8
32
- Requires-Dist: pyobjc-core>=11.1
33
- Requires-Dist: pyobjc-framework-MetalPerformanceShaders>=11.1
33
+ Requires-Dist: pyobjc-core>=12.1
34
+ Requires-Dist: pyobjc-framework-MetalPerformanceShaders>=12.1
34
35
  Dynamic: author
35
36
  Dynamic: author-email
36
37
  Dynamic: classifier
@@ -35,6 +35,25 @@ class TestMPSGraph(TestCase):
35
35
  MetalPerformanceShadersGraph.MPSGraphExecutionStageCompleted, 0
36
36
  )
37
37
 
38
+ self.assertIsEnumType(
39
+ MetalPerformanceShadersGraph.MPSGraphReducedPrecisionFastMath
40
+ )
41
+ self.assertEqual(
42
+ MetalPerformanceShadersGraph.MPSGraphReducedPrecisionFastMathNone, 0
43
+ )
44
+ self.assertEqual(
45
+ MetalPerformanceShadersGraph.MPSGraphReducedPrecisionFastMathAllowFP16Conv2DWinogradTransformIntermediate,
46
+ 1 << 1,
47
+ )
48
+ self.assertEqual(
49
+ MetalPerformanceShadersGraph.MPSGraphReducedPrecisionFastMathAllowFP16Intermediates,
50
+ MetalPerformanceShadersGraph.MPSGraphReducedPrecisionFastMathAllowFP16Conv2DWinogradTransformIntermediate,
51
+ )
52
+ self.assertEqual(
53
+ MetalPerformanceShadersGraph.MPSGraphReducedPrecisionFastMathDefault,
54
+ MetalPerformanceShadersGraph.MPSGraphReducedPrecisionFastMathNone,
55
+ )
56
+
38
57
  @min_os_level("11.0")
39
58
  def test_methods(self):
40
59
  self.assertResultIsBOOL(
@@ -1,13 +1,15 @@
1
1
  // GENERATED FILE DO NOT EDIT
2
2
  //
3
3
  // This file was generated by objective.metadata
4
- // Last update: Tue Jun 11 10:15:23 2024
4
+ // Last update: Fri Aug 8 15:58:32 2025
5
5
  {
6
6
  "arch": "arm64",
7
7
  "definitions": {
8
8
  "aliases": {
9
9
  "MPSGraphLossReductionTypeAxis": "MPSGraphLossReductionTypeNone",
10
- "MPSGraphOptionsDefault": "MPSGraphOptionsSynchronizeResults"
10
+ "MPSGraphOptionsDefault": "MPSGraphOptionsSynchronizeResults",
11
+ "MPSGraphReducedPrecisionFastMathAllowFP16Intermediates": "MPSGraphReducedPrecisionFastMathAllowFP16Conv2DWinogradTransformIntermediate",
12
+ "MPSGraphReducedPrecisionFastMathDefault": "MPSGraphReducedPrecisionFastMathNone"
11
13
  },
12
14
  "called_definitions": {},
13
15
  "cftypes": {},
@@ -730,6 +732,25 @@
730
732
  "selector": "squareRootWithTensor:name:",
731
733
  "visibility": "public"
732
734
  },
735
+ {
736
+ "args": [
737
+ {
738
+ "typestr": "@",
739
+ "typestr_special": false
740
+ },
741
+ {
742
+ "typestr": "@",
743
+ "typestr_special": false
744
+ }
745
+ ],
746
+ "class_method": false,
747
+ "retval": {
748
+ "typestr": "@",
749
+ "typestr_special": false
750
+ },
751
+ "selector": "reciprocalSquareRootWithTensor:name:",
752
+ "visibility": "public"
753
+ },
733
754
  {
734
755
  "args": [
735
756
  {
@@ -9146,6 +9167,80 @@
9146
9167
  "selector": "sliceTensor:starts:ends:strides:startMask:endMask:squeezeMask:name:",
9147
9168
  "visibility": "public"
9148
9169
  },
9170
+ {
9171
+ "args": [
9172
+ {
9173
+ "typestr": "@",
9174
+ "typestr_special": false
9175
+ },
9176
+ {
9177
+ "typestr": "@",
9178
+ "typestr_special": false
9179
+ },
9180
+ {
9181
+ "typestr": "@",
9182
+ "typestr_special": false
9183
+ },
9184
+ {
9185
+ "typestr": "@",
9186
+ "typestr_special": false
9187
+ },
9188
+ {
9189
+ "typestr": "I",
9190
+ "typestr_special": false
9191
+ },
9192
+ {
9193
+ "typestr": "I",
9194
+ "typestr_special": false
9195
+ },
9196
+ {
9197
+ "typestr": "I",
9198
+ "typestr_special": false
9199
+ },
9200
+ {
9201
+ "typestr": "@",
9202
+ "typestr_special": false
9203
+ }
9204
+ ],
9205
+ "class_method": false,
9206
+ "retval": {
9207
+ "typestr": "@",
9208
+ "typestr_special": false
9209
+ },
9210
+ "selector": "sliceTensor:startTensor:endTensor:strideTensor:startMask:endMask:squeezeMask:name:",
9211
+ "visibility": "public"
9212
+ },
9213
+ {
9214
+ "args": [
9215
+ {
9216
+ "typestr": "@",
9217
+ "typestr_special": false
9218
+ },
9219
+ {
9220
+ "typestr": "@",
9221
+ "typestr_special": false
9222
+ },
9223
+ {
9224
+ "typestr": "@",
9225
+ "typestr_special": false
9226
+ },
9227
+ {
9228
+ "typestr": "I",
9229
+ "typestr_special": false
9230
+ },
9231
+ {
9232
+ "typestr": "@",
9233
+ "typestr_special": false
9234
+ }
9235
+ ],
9236
+ "class_method": false,
9237
+ "retval": {
9238
+ "typestr": "@",
9239
+ "typestr_special": false
9240
+ },
9241
+ "selector": "sliceTensor:startTensor:sizeTensor:squeezeMask:name:",
9242
+ "visibility": "public"
9243
+ },
9149
9244
  {
9150
9245
  "args": [
9151
9246
  {
@@ -9181,6 +9276,88 @@
9181
9276
  "selector": "sliceGradientTensor:fwdInShapeTensor:starts:ends:strides:name:",
9182
9277
  "visibility": "public"
9183
9278
  },
9279
+ {
9280
+ "args": [
9281
+ {
9282
+ "typestr": "@",
9283
+ "typestr_special": false
9284
+ },
9285
+ {
9286
+ "typestr": "@",
9287
+ "typestr_special": false
9288
+ },
9289
+ {
9290
+ "typestr": "@",
9291
+ "typestr_special": false
9292
+ },
9293
+ {
9294
+ "typestr": "@",
9295
+ "typestr_special": false
9296
+ },
9297
+ {
9298
+ "typestr": "@",
9299
+ "typestr_special": false
9300
+ },
9301
+ {
9302
+ "typestr": "I",
9303
+ "typestr_special": false
9304
+ },
9305
+ {
9306
+ "typestr": "I",
9307
+ "typestr_special": false
9308
+ },
9309
+ {
9310
+ "typestr": "I",
9311
+ "typestr_special": false
9312
+ },
9313
+ {
9314
+ "typestr": "@",
9315
+ "typestr_special": false
9316
+ }
9317
+ ],
9318
+ "class_method": false,
9319
+ "retval": {
9320
+ "typestr": "@",
9321
+ "typestr_special": false
9322
+ },
9323
+ "selector": "sliceGradientTensor:fwdInShapeTensor:startTensor:endTensor:strideTensor:startMask:endMask:squeezeMask:name:",
9324
+ "visibility": "public"
9325
+ },
9326
+ {
9327
+ "args": [
9328
+ {
9329
+ "typestr": "@",
9330
+ "typestr_special": false
9331
+ },
9332
+ {
9333
+ "typestr": "@",
9334
+ "typestr_special": false
9335
+ },
9336
+ {
9337
+ "typestr": "@",
9338
+ "typestr_special": false
9339
+ },
9340
+ {
9341
+ "typestr": "@",
9342
+ "typestr_special": false
9343
+ },
9344
+ {
9345
+ "typestr": "I",
9346
+ "typestr_special": false
9347
+ },
9348
+ {
9349
+ "typestr": "@",
9350
+ "typestr_special": false
9351
+ }
9352
+ ],
9353
+ "class_method": false,
9354
+ "retval": {
9355
+ "typestr": "@",
9356
+ "typestr_special": false
9357
+ },
9358
+ "selector": "sliceGradientTensor:fwdInShapeTensor:startTensor:sizeTensor:squeezeMask:name:",
9359
+ "visibility": "public"
9360
+ },
9184
9361
  {
9185
9362
  "args": [
9186
9363
  {
@@ -11005,6 +11182,31 @@
11005
11182
  },
11006
11183
  "selector": "setCallables:",
11007
11184
  "visibility": "public"
11185
+ },
11186
+ {
11187
+ "args": [],
11188
+ "class_method": false,
11189
+ "retval": {
11190
+ "typestr": "Q",
11191
+ "typestr_special": false
11192
+ },
11193
+ "selector": "reducedPrecisionFastMath",
11194
+ "visibility": "public"
11195
+ },
11196
+ {
11197
+ "args": [
11198
+ {
11199
+ "typestr": "Q",
11200
+ "typestr_special": false
11201
+ }
11202
+ ],
11203
+ "class_method": false,
11204
+ "retval": {
11205
+ "typestr": "v",
11206
+ "typestr_special": false
11207
+ },
11208
+ "selector": "setReducedPrecisionFastMath:",
11209
+ "visibility": "public"
11008
11210
  }
11009
11211
  ],
11010
11212
  "name": "MPSGraphCompilationDescriptor",
@@ -11063,6 +11265,15 @@
11063
11265
  "name": "callables",
11064
11266
  "typestr": "@",
11065
11267
  "typestr_special": false
11268
+ },
11269
+ {
11270
+ "attributes": [
11271
+ "atomic",
11272
+ "readwrite"
11273
+ ],
11274
+ "name": "reducedPrecisionFastMath",
11275
+ "typestr": "Q",
11276
+ "typestr_special": false
11066
11277
  }
11067
11278
  ],
11068
11279
  "protocols": [
@@ -13788,6 +13999,7 @@
13788
13999
  {
13789
14000
  "attributes": [
13790
14001
  "atomic",
14002
+ "copy",
13791
14003
  "readwrite"
13792
14004
  ],
13793
14005
  "name": "minimumDeploymentTarget",
@@ -17780,6 +17992,21 @@
17780
17992
  "selector": "initWithMPSImageBatch:",
17781
17993
  "visibility": "public"
17782
17994
  },
17995
+ {
17996
+ "args": [
17997
+ {
17998
+ "typestr": "@",
17999
+ "typestr_special": false
18000
+ }
18001
+ ],
18002
+ "class_method": false,
18003
+ "retval": {
18004
+ "typestr": "@",
18005
+ "typestr_special": false
18006
+ },
18007
+ "selector": "initWithMTLTensor:",
18008
+ "visibility": "public"
18009
+ },
17783
18010
  {
17784
18011
  "args": [],
17785
18012
  "class_method": false,
@@ -17971,6 +18198,10 @@
17971
18198
  "MPSGraphRandomDistributionUniform": 0,
17972
18199
  "MPSGraphRandomNormalSamplingBoxMuller": 1,
17973
18200
  "MPSGraphRandomNormalSamplingInvCDF": 0,
18201
+ "MPSGraphReducedPrecisionFastMathAllowFP16Conv2DWinogradTransformIntermediate": 2,
18202
+ "MPSGraphReducedPrecisionFastMathAllowFP16Intermediates": 2,
18203
+ "MPSGraphReducedPrecisionFastMathDefault": 0,
18204
+ "MPSGraphReducedPrecisionFastMathNone": 0,
17974
18205
  "MPSGraphReductionModeArgumentMax": 5,
17975
18206
  "MPSGraphReductionModeArgumentMin": 4,
17976
18207
  "MPSGraphReductionModeMax": 1,
@@ -18053,6 +18284,9 @@
18053
18284
  "MPSGraphRandomNormalSamplingMethod": {
18054
18285
  "type": "Q"
18055
18286
  },
18287
+ "MPSGraphReducedPrecisionFastMath": {
18288
+ "type": "Q"
18289
+ },
18056
18290
  "MPSGraphReductionMode": {
18057
18291
  "type": "Q"
18058
18292
  },
@@ -18104,6 +18338,7 @@
18104
18338
  "MPSGraphRNNActivation": "enum MPSGraphRNNActivation",
18105
18339
  "MPSGraphRandomDistribution": "enum MPSGraphRandomDistribution",
18106
18340
  "MPSGraphRandomNormalSamplingMethod": "enum MPSGraphRandomNormalSamplingMethod",
18341
+ "MPSGraphReducedPrecisionFastMath": "enum MPSGraphReducedPrecisionFastMath",
18107
18342
  "MPSGraphReductionMode": "enum MPSGraphReductionMode",
18108
18343
  "MPSGraphResizeMode": "enum MPSGraphResizeMode",
18109
18344
  "MPSGraphResizeNearestRoundingMode": "enum MPSGraphResizeNearestRoundingMode",
@@ -18163,5 +18398,5 @@
18163
18398
  "MPSGraphTopKOps.h"
18164
18399
  ],
18165
18400
  "release": "10.16",
18166
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk"
18401
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk"
18167
18402
  }