pyobjc-framework-MetalPerformanceShadersGraph 10.1__py2.py3-none-any.whl → 10.3__py2.py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sat Jul 1 14:01:14 2023
3
+ # Last update: Sat May 18 09:32:37 2024
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -31,7 +31,7 @@ else:
31
31
 
32
32
  misc = {}
33
33
  constants = """$$"""
34
- enums = """$MPSGraphDeploymentPlatformIOS@1$MPSGraphDeploymentPlatformMacOS@0$MPSGraphDeploymentPlatformTvOS@2$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$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
37
  "MPSGraphOptimizationProfile": NewType("MPSGraphOptimizationProfile", int),
@@ -475,6 +475,30 @@ try:
475
475
  b"setAppend:",
476
476
  {"arguments": {2: {"type": b"Z"}}},
477
477
  )
478
+ r(
479
+ b"MPSGraphExecutionDescriptor",
480
+ b"completionHandler",
481
+ {
482
+ "retval": {
483
+ "callable": {
484
+ "retval": {"type": b"v"},
485
+ "arguments": {0: {"type": b"^v"}},
486
+ }
487
+ }
488
+ },
489
+ )
490
+ r(
491
+ b"MPSGraphExecutionDescriptor",
492
+ b"scheduledHandler",
493
+ {
494
+ "retval": {
495
+ "callable": {
496
+ "retval": {"type": b"v"},
497
+ "arguments": {0: {"type": b"^v"}},
498
+ }
499
+ }
500
+ },
501
+ )
478
502
  r(
479
503
  b"MPSGraphExecutionDescriptor",
480
504
  b"setCompletionHandler:",
@@ -738,6 +762,26 @@ try:
738
762
  )
739
763
  finally:
740
764
  objc._updatingMetadata(False)
765
+
766
+ objc.registerNewKeywordsFromSelector(
767
+ "MPSGraphExecutable", b"initWithMPSGraphPackageAtURL:compilationDescriptor:"
768
+ )
769
+ objc.registerNewKeywordsFromSelector("MPSGraphShapedType", b"initWithShape:dataType:")
770
+ objc.registerNewKeywordsFromSelector(
771
+ "MPSGraphTensorData", b"initWithDevice:data:shape:dataType:"
772
+ )
773
+ objc.registerNewKeywordsFromSelector("MPSGraphTensorData", b"initWithMPSImageBatch:")
774
+ objc.registerNewKeywordsFromSelector("MPSGraphTensorData", b"initWithMPSMatrix:")
775
+ objc.registerNewKeywordsFromSelector("MPSGraphTensorData", b"initWithMPSMatrix:rank:")
776
+ objc.registerNewKeywordsFromSelector("MPSGraphTensorData", b"initWithMPSNDArray:")
777
+ objc.registerNewKeywordsFromSelector("MPSGraphTensorData", b"initWithMPSVector:")
778
+ objc.registerNewKeywordsFromSelector("MPSGraphTensorData", b"initWithMPSVector:rank:")
779
+ objc.registerNewKeywordsFromSelector(
780
+ "MPSGraphTensorData", b"initWithMTLBuffer:shape:dataType:"
781
+ )
782
+ objc.registerNewKeywordsFromSelector(
783
+ "MPSGraphTensorData", b"initWithMTLBuffer:shape:dataType:rowBytes:"
784
+ )
741
785
  expressions = {}
742
786
 
743
787
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-MetalPerformanceShadersGraph
3
- Version: 10.1
3
+ Version: 10.3
4
4
  Summary: Wrappers for the framework MetalPerformanceShadersGraph on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -33,8 +33,8 @@ Description-Content-Type: text/x-rst; charset=UTF-8
33
33
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
34
34
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
35
35
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
36
- Requires-Dist: pyobjc-core >=10.1
37
- Requires-Dist: pyobjc-framework-MetalPerformanceShaders >=10.1
36
+ Requires-Dist: pyobjc-core >=10.3
37
+ Requires-Dist: pyobjc-framework-MetalPerformanceShaders >=10.3
38
38
 
39
39
 
40
40
  Wrappers for the "MetalPerformanceShadersGraph" framework on macOS.
@@ -0,0 +1,6 @@
1
+ MetalPerformanceShadersGraph/__init__.py,sha256=CO31tb-szkhbGarsJ__d3z-FrXV5PQwrjze50qTfVSs,961
2
+ MetalPerformanceShadersGraph/_metadata.py,sha256=jU_JUGQcFQXXkCvCKzA7jRNvXbvUBE9DH7WW3N6UXRk,28807
3
+ pyobjc_framework_MetalPerformanceShadersGraph-10.3.dist-info/METADATA,sha256=QGSPktH16mLHs361gns4_pCkMpFAJpgtx1oVhrJ3SvA,2332
4
+ pyobjc_framework_MetalPerformanceShadersGraph-10.3.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
5
+ pyobjc_framework_MetalPerformanceShadersGraph-10.3.dist-info/top_level.txt,sha256=jzyLuOPJGzGhRoS5xrMLtXTXoyhGZ5hEe7eJR-Lmluk,29
6
+ pyobjc_framework_MetalPerformanceShadersGraph-10.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -1,6 +0,0 @@
1
- MetalPerformanceShadersGraph/__init__.py,sha256=CO31tb-szkhbGarsJ__d3z-FrXV5PQwrjze50qTfVSs,961
2
- MetalPerformanceShadersGraph/_metadata.py,sha256=6MKEYZ9010bLZ8jcmwwculONk7ZjrS7fX8fEOxedvKA,27153
3
- pyobjc_framework_MetalPerformanceShadersGraph-10.1.dist-info/METADATA,sha256=x9-Cc_T8PTIFcu88kcRsMq5Lyx34VA815QC5eCnAD-I,2332
4
- pyobjc_framework_MetalPerformanceShadersGraph-10.1.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
5
- pyobjc_framework_MetalPerformanceShadersGraph-10.1.dist-info/top_level.txt,sha256=jzyLuOPJGzGhRoS5xrMLtXTXoyhGZ5hEe7eJR-Lmluk,29
6
- pyobjc_framework_MetalPerformanceShadersGraph-10.1.dist-info/RECORD,,