Added property:
public virtual Foundation.NSDictionary WeakNowPlayingInfo { get; set; }
Added property:
public static Foundation.NSString OptionDeviceAccessForMedia { get; }
Added values:
LEGattExceededBackgroundNotificationLimit = 17,
LEGattNearBackgroundNotificationLimit = 18,
Added property:
public bool? LoopEnabled { get; set; }
Added property:
public virtual bool PlaysAudioOnly { get; set; }
Added constructor:
public CHHapticPattern (Foundation.NSUrl url, out Foundation.NSError error);
Added property:
public float Padding { get; set; }
Added property:
public bool Extrapolate { get; set; }
Added property:
public bool Extrapolate { get; set; }
Added property:
public bool Extrapolate { get; set; }
Added methods:
public virtual CIImage ConvertLabToWorkingSpace ();
public virtual CIImage ConvertWorkingSpaceToLab ();
Added property:
public float Padding { get; set; }
public class CIAreaLogarithmicHistogram : CoreImage.CIFilter, ICIAreaLogarithmicHistogramProtocol, ICIAreaReductionFilterProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CIAreaLogarithmicHistogram ();
public CIAreaLogarithmicHistogram (Foundation.NSCoder coder);
protected CIAreaLogarithmicHistogram (Foundation.NSObjectFlag t);
protected CIAreaLogarithmicHistogram (ObjCRuntime.NativeHandle handle);
// properties
public virtual IntPtr Count { get; set; }
public virtual CoreGraphics.CGRect InputExtent { get; set; }
public virtual CIImage InputImage { get; set; }
public virtual float MaximumStop { get; set; }
public virtual float MinimumStop { get; set; }
public virtual CIImage OutputImage { get; }
public virtual float Scale { get; set; }
}
public static class CIAttributedTextImageGeneratorProtocol_Extensions {
// methods
public static float GetPadding (this ICIAttributedTextImageGeneratorProtocol This);
public static void SetPadding (this ICIAttributedTextImageGeneratorProtocol This, float value);
}
public static class CIColorCubeProtocol_Extensions {
// methods
public static bool GetExtrapolate (this ICIColorCubeProtocol This);
public static void SetExtrapolate (this ICIColorCubeProtocol This, bool value);
}
public static class CIColorCubeWithColorSpaceProtocol_Extensions {
// methods
public static bool GetExtrapolate (this ICIColorCubeWithColorSpaceProtocol This);
public static void SetExtrapolate (this ICIColorCubeWithColorSpaceProtocol This, bool value);
}
public static class CIColorCubesMixedWithMaskProtocol_Extensions {
// methods
public static bool GetExtrapolate (this ICIColorCubesMixedWithMaskProtocol This);
public static void SetExtrapolate (this ICIColorCubesMixedWithMaskProtocol This, bool value);
}
public static class CIImageProcessorInput_Extensions {
// methods
public static ulong GetDigest (this ICIImageProcessorInput This);
}
public static class CIImageProcessorOutput_Extensions {
// methods
public static ulong GetDigest (this ICIImageProcessorOutput This);
}
public static class CITextImageGeneratorProtocol_Extensions {
// methods
public static float GetPadding (this ICITextImageGeneratorProtocol This);
public static void SetPadding (this ICITextImageGeneratorProtocol This, float value);
}
public interface ICIAreaLogarithmicHistogramProtocol : ICIAreaReductionFilterProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual nint Count { get; set; }
public virtual float MaximumStop { get; set; }
public virtual float MinimumStop { get; set; }
public virtual float Scale { get; set; }
}
public interface ICIConvertLabProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual CIImage InputImage { get; set; }
public virtual bool Normalize { get; set; }
}
Added value:
CPUAndNeuralEngine = 3,
Added methods:
public static void CompileModel (Foundation.NSUrl modelUrl, System.Action<Foundation.NSUrl,Foundation.NSError> handler);
public static System.Threading.Tasks.Task<Foundation.NSUrl> CompileModelAsync (Foundation.NSUrl modelUrl);
public static void Load (MLModelAsset asset, MLModelConfiguration configuration, System.Action<MLModel,Foundation.NSError> handler);
public static System.Threading.Tasks.Task<MLModel> LoadAsync (MLModelAsset asset, MLModelConfiguration configuration);
Added property:
public virtual string ModelDisplayName { get; set; }
Added constructor:
public MLMultiArray (CoreVideo.CVPixelBuffer pixelBuffer, Foundation.NSNumber[] shape);
Added property:
public virtual CoreVideo.CVPixelBuffer PixelBuffer { get; }
Added methods:
public virtual void GetBytes (System.Action<System.IntPtr,System.IntPtr> handler);
public virtual System.Threading.Tasks.Task<MLMultiArrayDataPointer> GetBytesAsync ();
public virtual void GetMutableBytes (System.Action<System.IntPtr,System.IntPtr,Foundation.NSArray<Foundation.NSNumber>> handler);
public virtual System.Threading.Tasks.Task<MLMultiArrayMutableDataPointer> GetMutableBytesAsync ();
Added property:
public virtual Foundation.NSDictionary OutputBackings { get; set; }
public class MLModelAsset : Foundation.NSObject {
// constructors
protected MLModelAsset (Foundation.NSObjectFlag t);
protected MLModelAsset (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
// methods
public static MLModelAsset Create (Foundation.NSData specificationData, out Foundation.NSError error);
}
public class MLModelCompilationLoadResult {
// constructors
public MLModelCompilationLoadResult (MLModel arg1);
// properties
public MLModel Arg1 { get; set; }
}
public class MLModelCompilationResult {
// constructors
public MLModelCompilationResult (Foundation.NSUrl arg1);
// properties
public Foundation.NSUrl Arg1 { get; set; }
}
public class MLMultiArrayDataPointer {
// constructors
public MLMultiArrayDataPointer (nint arg1, nint arg2);
// properties
public nint Arg1 { get; set; }
public nint Arg2 { get; set; }
}
public class MLMultiArrayMutableDataPointer {
// constructors
public MLMultiArrayMutableDataPointer (nint arg1, nint arg2, Foundation.NSArray<Foundation.NSNumber> arg3);
// properties
public nint Arg1 { get; set; }
public nint Arg2 { get; set; }
public Foundation.NSArray<Foundation.NSNumber> Arg3 { get; set; }
}
[Serializable]
public enum CSSearchQuerySourceOptions {
AllowMail = 1,
Default = 0,
}
Added value:
PreventAutoDownload = 2,
Obsoleted fields:
[Obsolete ("Starting with tvos16.0.")]
ExcludeSynthetic = 1,
Added values:
AnimationTrackingEnabled = 35184372088832,
TrackingEnabled = 70368744177664,
UserInteractive = 1095233437695,
Added constructors:
public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error);
public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error);
public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error);
Added property:
public virtual NSAttributedString AttributedStringByInflectingString { get; }
Added method:
public virtual NSAttributedString GetLocalizedAttributedString (string key, string value, string tableName);
Added methods:
public virtual string Create (NSUnitInformationStorage measurement);
public static string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle);
Added value:
XpcConnectionCodeSigningRequirementFailure = 4102,
Added constructor:
public NSItemProvider (NSUrl fileUrl, UniformTypeIdentifiers.UTType contentType, bool openInPlace, bool coordinated, NSItemProviderRepresentationVisibility visibility);
Added properties:
public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypes { get; }
public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypesForOpenInPlace { get; }
Added methods:
public virtual NSProgress LoadDataRepresentation (UniformTypeIdentifiers.UTType contentType, ItemProviderDataCompletionHandler completionHandler);
public virtual NSProgress LoadFileRepresentation (UniformTypeIdentifiers.UTType contentType, bool openInPlace, LoadFileRepresentationHandler completionHandler);
public virtual void RegisterDataRepresentation (UniformTypeIdentifiers.UTType contentType, NSItemProviderRepresentationVisibility visibility, NSItemProviderUTTypeLoadDelegate loadHandler);
public virtual void RegisterFileRepresentation (UniformTypeIdentifiers.UTType contentType, NSItemProviderRepresentationVisibility visibility, bool openInPlace, NSItemProviderUTTypeLoadDelegate loadHandler);
public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypesConforming (UniformTypeIdentifiers.UTType contentType);
Added values:
Json5Allowed = 8,
TopLevelDictionaryAssumed = 16,
Added property:
public virtual NSURLRequestAttribution Attribution { get; set; }
Added property:
public virtual NSLocale Locale { get; set; }
Added property:
public static NSString FileOperationKindDuplicatingKey { get; }
Added value:
CreationWithoutImplicitSecurityScope = 536870912,
Added value:
WithoutImplicitStartAccessing = 32768,
Added property:
public virtual string EncodedHost { get; set; }
Added property:
public virtual NSURLRequestAttribution Attribution { get; }
Added property:
public virtual bool RequiresDnsSecValidation { get; set; }
Added properties:
public INSUrlSessionTaskDelegate Delegate { get; set; }
public virtual NSObject WeakDelegate { get; set; }
Added method:
public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task);
Added method:
public static void DidCreateTask (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task);
Added method:
public virtual NSComparisonResult Compare (NSUuid otherUuid);
Added method:
public virtual void Activate ();
Added method:
public virtual void Activate ();
public sealed delegate LoadFileRepresentationHandler : System.MulticastDelegate {
// constructors
public LoadFileRepresentationHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (NSUrl fileUrl, bool openInPlace, NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (NSUrl fileUrl, bool openInPlace, NSError error);
}
[Serializable]
[Flags]
public enum NSAttributedStringFormattingOptions {
ApplyReplacementIndexAttribute = 2,
InsertArgumentAttributesWithoutMerging = 1,
}
[Serializable]
public enum NSAttributedStringMarkdownInterpretedSyntax {
Full = 0,
InlineOnly = 1,
InlineOnlyPreservingWhitespace = 2,
}
[Serializable]
public enum NSAttributedStringMarkdownParsingFailurePolicy {
Error = 0,
PartiallyParsedIfPossible = 1,
}
public class NSAttributedStringMarkdownParsingOptions : Foundation.NSObject, INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSAttributedStringMarkdownParsingOptions ();
protected NSAttributedStringMarkdownParsingOptions (NSObjectFlag t);
protected NSAttributedStringMarkdownParsingOptions (ObjCRuntime.NativeHandle handle);
// properties
public virtual bool AllowsExtendedAttributes { get; set; }
public virtual bool AppliesSourcePositionAttributes { get; set; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual NSAttributedStringMarkdownParsingFailurePolicy FailurePolicy { get; set; }
public virtual NSAttributedStringMarkdownInterpretedSyntax InterpretedSyntax { get; set; }
public virtual string LanguageCode { get; set; }
// methods
public virtual NSObject Copy (NSZone zone);
}
public class NSAttributedStringMarkdownSourcePosition : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSAttributedStringMarkdownSourcePosition ();
public NSAttributedStringMarkdownSourcePosition (NSCoder coder);
protected NSAttributedStringMarkdownSourcePosition (NSObjectFlag t);
protected NSAttributedStringMarkdownSourcePosition (ObjCRuntime.NativeHandle handle);
public NSAttributedStringMarkdownSourcePosition (nint startLine, nint startColumn, nint endLine, nint endColumn);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual nint EndColumn { get; }
public virtual nint EndLine { get; }
public virtual nint StartColumn { get; }
public virtual nint StartLine { get; }
// methods
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
public virtual NSRange RangeInString (string string);
}
[Serializable]
public enum NSAttributedStringNameKey {
AlternateDescription = 0,
ImageUrl = 1,
InflectionAlternative = 3,
InflectionRule = 2,
InlinePresentationIntent = 4,
LanguageIdentifier = 5,
MarkdownSourcePosition = 6,
Morphology = 7,
PresentationIntentAttributeName = 8,
ReplacementIndex = 9,
}
public static class NSAttributedStringNameKeyExtensions {
// methods
public static NSString GetConstant (this NSAttributedStringNameKey self);
public static NSAttributedStringNameKey GetValue (NSString constant);
}
[Serializable]
public enum NSGrammaticalGender {
Feminine = 1,
Masculine = 2,
Neuter = 3,
NotSet = 0,
}
[Serializable]
public enum NSGrammaticalNumber {
NotSet = 0,
Plural = 3,
PluralFew = 5,
PluralMany = 6,
PluralTwo = 4,
Singular = 1,
Zero = 2,
}
[Serializable]
public enum NSGrammaticalPartOfSpeech {
Abbreviation = 14,
Adjective = 6,
Adposition = 7,
Adverb = 4,
Conjunction = 10,
Determiner = 1,
Interjection = 12,
Letter = 3,
NotSet = 0,
Noun = 9,
Numeral = 11,
Particle = 5,
Preposition = 13,
Pronoun = 2,
Verb = 8,
}
public class NSInflectionRule : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSInflectionRule (NSCoder coder);
protected NSInflectionRule (NSObjectFlag t);
protected NSInflectionRule (ObjCRuntime.NativeHandle handle);
// properties
public static NSInflectionRule AutomaticRule { get; }
public static bool CanInflectPreferredLocalization { get; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
// methods
public static bool CanInflectLanguage (string language);
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
}
public class NSInflectionRuleExplicit : Foundation.NSInflectionRule {
// constructors
public NSInflectionRuleExplicit ();
public NSInflectionRuleExplicit (NSCoder coder);
public NSInflectionRuleExplicit (NSMorphology morphology);
protected NSInflectionRuleExplicit (NSObjectFlag t);
protected NSInflectionRuleExplicit (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual NSMorphology Morphology { get; }
}
[Serializable]
public enum NSInlinePresentationIntent {
BlockHTML = 512,
Code = 4,
Emphasized = 1,
InlineHTML = 256,
LineBreak = 128,
SoftBreak = 64,
Strikethrough = 32,
StronglyEmphasized = 2,
}
public sealed delegate NSItemProviderUTTypeLoadDelegate : System.MulticastDelegate {
// constructors
public NSItemProviderUTTypeLoadDelegate (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (ItemProviderDataCompletionHandler completionHandler, System.AsyncCallback callback, object object);
public virtual NSProgress EndInvoke (System.IAsyncResult result);
public virtual NSProgress Invoke (ItemProviderDataCompletionHandler completionHandler);
}
public class NSMorphology : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSMorphology ();
public NSMorphology (NSCoder coder);
protected NSMorphology (NSObjectFlag t);
protected NSMorphology (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual NSGrammaticalGender GrammaticalGender { get; set; }
public virtual NSGrammaticalNumber Number { get; set; }
public virtual NSGrammaticalPartOfSpeech PartOfSpeech { get; set; }
public virtual bool Unspecified { get; }
public static NSMorphology UserMorphology { get; }
// methods
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
public virtual NSMorphologyCustomPronoun GetCustomPronoun (string language);
public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun features, string language, out NSError error);
}
public class NSMorphologyCustomPronoun : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSMorphologyCustomPronoun ();
public NSMorphologyCustomPronoun (NSCoder coder);
protected NSMorphologyCustomPronoun (NSObjectFlag t);
protected NSMorphologyCustomPronoun (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual string ObjectForm { get; set; }
public virtual string PossessiveAdjectiveForm { get; set; }
public virtual string PossessiveForm { get; set; }
public virtual string ReflexiveForm { get; set; }
public virtual string SubjectForm { get; set; }
// methods
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
public static string[] GetRequiredKeysForLanguage (string language);
public static bool IsSupported (string language);
}
public class NSPresentationIntent : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSPresentationIntent (NSCoder coder);
protected NSPresentationIntent (NSObjectFlag t);
protected NSPresentationIntent (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual nint Column { get; }
public virtual NSNumber[] ColumnAlignments { get; }
public virtual nint ColumnCount { get; }
public virtual nint HeaderLevel { get; }
public virtual nint Identity { get; }
public virtual nint IndentationLevel { get; }
public virtual NSPresentationIntentKind IntentKind { get; }
public virtual string LanguageHint { get; }
public virtual nint Ordinal { get; }
public virtual NSPresentationIntent ParentIntent { get; }
public virtual nint Row { get; }
// methods
public virtual NSObject Copy (NSZone zone);
public static NSPresentationIntent CreateBlockQuoteIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateCodeBlockIntent (nint identity, string languageHint, NSPresentationIntent parent);
public static NSPresentationIntent CreateHeaderIntent (nint identity, nint level, NSPresentationIntent parent);
public static NSPresentationIntent CreateListItemIntent (nint identity, nint ordinal, NSPresentationIntent parent);
public static NSPresentationIntent CreateOrderedListIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateParagraphIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateTableCellIntent (nint identity, nint column, NSPresentationIntent parent);
public static NSPresentationIntent CreateTableHeaderRowIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateTableIntent (nint identity, nint columnCount, NSNumber[] alignments, NSPresentationIntent parent);
public static NSPresentationIntent CreateTableRowIntent (nint identity, nint row, NSPresentationIntent parent);
public static NSPresentationIntent CreateThematicBreakIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateUnorderedListIntent (nint identity, NSPresentationIntent parent);
public virtual void EncodeTo (NSCoder encoder);
public virtual bool IsEquivalent (NSPresentationIntent other);
}
[Serializable]
public enum NSPresentationIntentKind {
BlockQuote = 6,
CodeBlock = 5,
Header = 1,
ListItem = 4,
OrderedList = 2,
Paragraph = 0,
Table = 8,
TableCell = 11,
TableHeaderRow = 9,
TableRow = 10,
ThematicBreak = 7,
UnorderedList = 3,
}
[Serializable]
public enum NSPresentationIntentTableColumnAlignment {
Center = 1,
Left = 0,
Right = 2,
}
[Serializable]
public enum NSURLRequestAttribution {
Developer = 0,
User = 1,
}
Added property:
public string Name { get; set; }
Added properties:
public static Foundation.NSString GroupImageBaseline { get; }
public static Foundation.NSString GroupImageDisparityAdjustment { get; }
public static Foundation.NSString HeifDictionary { get; }
public static class IOCameraExtrinsics {
// properties
public static Foundation.NSString CoordinateSystemId { get; }
public static Foundation.NSString Position { get; }
public static Foundation.NSString Rotation { get; }
}
public static class IOCameraModel {
// properties
public static Foundation.NSString Intrinsics { get; }
public static Foundation.NSString ModelType { get; }
}
public static class IOCameraModelType {
// properties
public static Foundation.NSString GenericPinhole { get; }
public static Foundation.NSString SimplifiedPinhole { get; }
}
public static class IOMetadata {
// properties
public static Foundation.NSString CameraExtrinsicsKey { get; }
public static Foundation.NSString CameraModelKey { get; }
}
Added interfaces:
IMPMediaPlayback
ObjCRuntime.INativeObject
System.IDisposable
Added properties:
public virtual float CurrentPlaybackRate { get; set; }
public virtual double CurrentPlaybackTime { get; set; }
public virtual bool IsPreparedToPlay { get; }
Added methods:
public virtual void BeginSeekingBackward ();
public virtual void BeginSeekingForward ();
public virtual void EndSeeking ();
public virtual void Pause ();
public virtual void Play ();
public virtual void PrepareToPlay ();
public virtual void Stop ();
Added properties:
public static Foundation.NSString PropertyAdTimeRanges { get; }
public static Foundation.NSString PropertyCreditsStartTime { get; }
Added property:
public virtual bool AutomaticallyPublishesNowPlayingInfo { get; set; }
public interface IMPMediaPlayback : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual float CurrentPlaybackRate { get; set; }
public virtual double CurrentPlaybackTime { get; set; }
public virtual bool IsPreparedToPlay { get; }
// methods
public virtual void BeginSeekingBackward ();
public virtual void BeginSeekingForward ();
public virtual void EndSeeking ();
public virtual void Pause ();
public virtual void Play ();
public virtual void PrepareToPlay ();
public virtual void Stop ();
}
public class MPAdTimeRange : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPAdTimeRange (CoreMedia.CMTimeRange timeRange);
protected MPAdTimeRange (Foundation.NSObjectFlag t);
protected MPAdTimeRange (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual CoreMedia.CMTimeRange TimeRange { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
Added methods:
public static MPSNDArray Create (Metal.IMTLDevice device, System.ReadOnlySpan<float> values, int[] shape);
public void Read (System.Span<float> values);
public void Write (System.ReadOnlySpan<float> values);
Added value:
Kazakh = 58,
Modified fields:
-public const string SdkVersion = "15.4";
+public const string SdkVersion = "16.0";
-public const string Version = "15.11.0";
+public const string Version = "15.99.0";
Added field:
public static const string MetalPerformanceShadersGraphLibrary = "/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/MetalPerformanceShadersGraph";
Added method:
public static IntPtr dlopen (string path, Dlfcn.Mode mode);
[Serializable]
[Flags]
public enum Mode {
First = 256,
Global = 8,
Lazy = 1,
Local = 4,
NoDelete = 128,
NoLoad = 16,
None = 0,
Now = 2,
}
Added methods:
public static void ThrowArgumentNullException (string argumentName, string message);
public static void ThrowArgumentOutOfRangeException (string argumentName, object actualValue, string message);
public sealed class NativeNameAttribute : System.Attribute {
// constructors
public NativeNameAttribute (string name);
// properties
public string NativeName { get; set; }
}
Added value:
InternalError = 500,
Added properties:
public virtual SHRange[] FrequencySkewRanges { get; }
public virtual SHRange[] TimeRanges { get; }
Added values:
FrequencySkewRanges = 15,
TimeRanges = 14,
Added methods:
public static void GenerateSignature (AVFoundation.AVAsset asset, System.Action<SHSignature,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<SHSignature> GenerateSignatureAsync (AVFoundation.AVAsset asset);
public class SHRange : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SHRange (Foundation.NSCoder coder);
protected SHRange (Foundation.NSObjectFlag t);
protected SHRange (ObjCRuntime.NativeHandle handle);
public SHRange (double lowerBound, double upperBound);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual double LowerBound { get; }
public virtual double UpperBound { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static SHRange CreateRange (double lowerBound, double upperBound);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
Added property:
public virtual bool ShouldStorePreferencesForCurrentUser { get; }
Added method:
public virtual bool SupportsConfiguration (UIKit.IUIContentConfiguration configuration);
Added method:
public virtual bool SupportsConfiguration (UIKit.IUIContentConfiguration configuration);
Added methods:
public static NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count);
public static NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count);
Added property:
public virtual UIContentInsetsReference SupplementaryContentInsetsReference { get; set; }
Added property:
public override NSTextList[] TextLists { get; set; }
Added property:
public virtual NSTextList[] TextLists { get; set; }
Added properties:
public virtual NSTextElement[] ChildElements { get; }
public virtual bool IsRepresentedElement { get; }
public virtual NSTextElement ParentElement { get; }
Added interfaces:
ObjCRuntime.INativeObject
System.IDisposable
IUIMenuLeaf
Added method:
public virtual void Target (Foundation.NSObject sender, Foundation.NSObject target);
Added property:
public virtual UIAlertControllerSeverity Severity { get; set; }
Added constructors:
public UIBarButtonItem (UIAction primaryAction, UIMenu menu);
public UIBarButtonItem (UIBarButtonSystemItem systemItem, UIAction primaryAction, UIMenu menu);
public UIBarButtonItem (string title, UIImage image, Foundation.NSObject target, ObjCRuntime.Selector action, UIMenu menu);
Added properties:
public virtual UIButtonConfigurationIndicator Indicator { get; set; }
public virtual UIConfigurationColorTransformerHandler IndicatorColorTransformer { get; set; }
Added property:
public virtual UICollectionViewSelfSizingInvalidation SelfSizingInvalidation { get; set; }
Added property:
public virtual UIBackgroundConfiguration DefaultBackgroundConfiguration { get; }
Added methods:
public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath);
public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath);
Added methods:
public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath);
public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath);
Added methods:
public static bool CanPerformPrimaryActionForItem (this IUICollectionViewDelegate This, UICollectionView collectionView, Foundation.NSIndexPath indexPath);
public static void PerformPrimaryActionForItem (this IUICollectionViewDelegate This, UICollectionView collectionView, Foundation.NSIndexPath indexPath);
Added methods:
public virtual bool CanPerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath);
public virtual void PerformPrimaryActionForItem (UICollectionView collectionView, Foundation.NSIndexPath indexPath);
Added interfaces:
ObjCRuntime.INativeObject
System.IDisposable
IUIMenuLeaf
Added property:
public virtual Foundation.NSObject Sender { get; }
Added method:
public virtual void Target (Foundation.NSObject sender, Foundation.NSObject target);
Added methods:
public static IUIFocusDebuggerOutput GetFocusGroups (IUIFocusEnvironment environment);
public static IUIFocusDebuggerOutput GetPreferredFocusEnvironments (IUIFocusEnvironment environment);
Added method:
public static UIFont SystemFontOfSize (System.Runtime.InteropServices.NFloat fontSize, UIFontWeight weight, UIFontWidth width);
Obsoleted methods:
[Obsolete ("Use 'EndPDFContext' instead.")]
public static void EndPDFContent ();
Added method:
public static void EndPDFContext ();
Added methods:
public static UIImage FromBundle (string name, Foundation.NSBundle bundle, double value, UIImageConfiguration configuration);
public static UIImage GetSystemImage (string name, double value, UIImageConfiguration configuration);
Added method:
public static UIImageSymbolConfiguration GetConfigurationPreferringMonochrome ();
Added property:
public virtual bool ShowsExpansionTextWhenTruncated { get; set; }
Added method:
public virtual bool SupportsConfiguration (IUIContentConfiguration configuration);
Added property:
public virtual UIMenuElementSize PreferredElementSize { get; set; }
Added value:
KeepsMenuPresented = 8,
Added value:
Document = 46,
Added properties:
public virtual UIPageControlDirection Direction { get; set; }
public virtual UIImage PreferredCurrentPageIndicatorImage { get; set; }
Added methods:
public virtual UIImage GetCurrentPageIndicatorImage (nint page);
public virtual void SetCurrentPageIndicatorImage (UIImage image, nint page);
Added methods:
public virtual void Duplicate (Foundation.NSObject sender);
public virtual void Export (Foundation.NSObject sender);
public virtual void Find (Foundation.NSObject sender);
public virtual void FindAndReplace (Foundation.NSObject sender);
public virtual void FindNext (Foundation.NSObject sender);
public virtual void FindPrevious (Foundation.NSObject sender);
public virtual void Move (Foundation.NSObject sender);
public virtual void Rename (Foundation.NSObject sender);
public virtual void UseSelectionForFind (Foundation.NSObject sender);
Added methods:
public static void Duplicate (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
public static void Export (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
public static void Find (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
public static void FindAndReplace (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
public static void FindNext (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
public static void FindPrevious (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
public static void Move (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
public static void Rename (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
public static void UseSelectionForFind (this IUIResponderStandardEditActions This, Foundation.NSObject sender);
Added values:
GeometryRequestDenied = 101,
GeometryRequestUnsupported = 100,
Added property:
public virtual bool AllowsFullScreen { get; set; }
Added properties:
public virtual System.Runtime.InteropServices.NFloat CurrentEdrHeadroom { get; }
public virtual System.Runtime.InteropServices.NFloat PotentialEdrHeadroom { get; }
public virtual UIScreenReferenceDisplayModeStatus ReferenceDisplayModeStatus { get; }
public static Foundation.NSString ReferenceDisplayModeStatusDidChangeNotification { get; }
Added methods:
public static Foundation.NSObject ObserveReferenceDisplayModeStatusDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveReferenceDisplayModeStatusDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
Added values:
InteractiveWithAccessory = 4,
OnDragWithAccessory = 3,
Added property:
public virtual Foundation.NSObject RepresentedObject { get; set; }
Added methods:
public static Foundation.NSObject GetRepresentedObject (this IUISearchSuggestion This);
public static void SetRepresentedObject (this IUISearchSuggestion This, Foundation.NSObject value);
Added property:
public virtual UITableViewSelfSizingInvalidation SelfSizingInvalidation { get; set; }
Added property:
public virtual UIBackgroundConfiguration DefaultBackgroundConfiguration { get; }
Added methods:
public virtual bool CanPerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath);
public virtual void PerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath);
Added methods:
public virtual bool CanPerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath);
public virtual void PerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath);
Added methods:
public static bool CanPerformPrimaryAction (this IUITableViewDelegate This, UITableView tableView, Foundation.NSIndexPath rowIndexPath);
public static void PerformPrimaryAction (this IUITableViewDelegate This, UITableView tableView, Foundation.NSIndexPath rowIndexPath);
Added property:
public virtual UIBackgroundConfiguration DefaultBackgroundConfiguration { get; }
Added methods:
public virtual bool CanPerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath);
public virtual void PerformPrimaryAction (UITableView tableView, Foundation.NSIndexPath rowIndexPath);
Added method:
public virtual UIMenu GetEditMenu (UITextRange textRange, UIMenuElement[] suggestedActions);
Added method:
public virtual UIMenu GetEditMenu (UITextField textField, Foundation.NSRange range, UIMenuElement[] suggestedActions);
Added method:
public static UIMenu GetEditMenu (this IUITextFieldDelegate This, UITextField textField, Foundation.NSRange range, UIMenuElement[] suggestedActions);
Added method:
public static UIMenu GetEditMenu (this IUITextInput This, UITextRange textRange, UIMenuElement[] suggestedActions);
Added property:
public virtual NSTextLayoutManager TextLayoutManager { get; }
Added methods:
public virtual UIMenu GetEditMenu (UITextRange textRange, UIMenuElement[] suggestedActions);
public static UITextView GetTextView (bool usingTextLayoutManager);
Added method:
public virtual UIMenu GetEditMenuForText (UITextView textView, Foundation.NSRange range, UIMenuElement[] suggestedActions);
Added method:
public static UIMenu GetEditMenuForText (this IUITextViewDelegate This, UITextView textView, Foundation.NSRange range, UIMenuElement[] suggestedActions);
Added property:
public virtual UINSToolbarItemPresentationSize ToolbarItemPresentationSize { get; }
Added method:
public static UITraitCollection GetTraitCollection (UINSToolbarItemPresentationSize toolbarItemPresentationSize);
Added property:
public virtual CoreGraphics.CGPoint AnchorPoint { get; set; }
Added properties:
public virtual UIPresentationController ActivePresentationController { get; }
public virtual string InteractionActivityTrackingBaseName { get; set; }
Added method:
public virtual void SetNeedsUpdateOfSupportedInterfaceOrientations ();
Added property:
public virtual IUILayoutGuideAspectFitting SafeAreaAspectFitLayoutGuide { get; }
Added properties:
public virtual UIWindowSceneGeometry EffectiveGeometry { get; }
public virtual bool FullScreen { get; }
public virtual UISceneWindowingBehaviors WindowingBehaviors { get; }
Added method:
public virtual void RequestGeometryUpdate (UIWindowSceneGeometryPreferences geometryPreferences, System.Action<Foundation.NSError> errorHandler);
Added value:
ExternalDisplayNonInteractive = 3,
public interface IUILayoutGuideAspectFitting : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual System.Runtime.InteropServices.NFloat AspectRatio { get; set; }
}
public interface IUIMenuLeaf : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual UIMenuElementAttributes Attributes { get; set; }
public virtual string DiscoverabilityTitle { get; set; }
public virtual UIImage Image { get; set; }
public virtual Foundation.NSObject Sender { get; }
public virtual UIMenuElementState State { get; set; }
public virtual string Title { get; set; }
// methods
public virtual void Target (Foundation.NSObject sender, Foundation.NSObject target);
}
public class NSTextList : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSTextList ();
public NSTextList (Foundation.NSCoder coder);
protected NSTextList (Foundation.NSObjectFlag t);
protected NSTextList (ObjCRuntime.NativeHandle handle);
public NSTextList (NSTextListMarkerFormats format, NSTextListOptions mask);
public NSTextList (string markerFormat, NSTextListOptions options, nint startingItemNumber);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual NSTextListOptions ListOptions { get; }
public virtual NSTextListMarkerFormats MarkerFormat { get; }
public virtual bool Ordered { get; }
public virtual nint StartingItemNumber { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual string GetMarker (nint itemNum);
}
public class NSTextListElement : UIKit.NSTextParagraph {
// constructors
public NSTextListElement ();
public NSTextListElement (Foundation.NSAttributedString attributedString);
protected NSTextListElement (Foundation.NSObjectFlag t);
protected NSTextListElement (ObjCRuntime.NativeHandle handle);
public NSTextListElement (NSTextContentManager textContentManager);
public NSTextListElement (NSTextListElement parent, NSTextList textList, Foundation.NSAttributedString contents, Foundation.NSDictionary markerAttributes, NSTextListElement[] children);
// properties
public virtual Foundation.NSAttributedString AttributedString { get; }
public virtual NSTextListElement[] ChildElements { get; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual Foundation.NSAttributedString Contents { get; }
public virtual NSTextListElement ParentElement { get; }
public virtual NSTextList TextList { get; }
public virtual Foundation.NSDictionary WeakMarkerAttributes { get; }
// methods
public static NSTextListElement Create (NSTextListElement[] children, NSTextList textList, nint nestingLevel);
public static NSTextListElement Create (Foundation.NSAttributedString contents, Foundation.NSDictionary markerAttributes, NSTextList textList, NSTextListElement[] children);
protected override void Dispose (bool disposing);
}
[Serializable]
public enum NSTextListMarkerFormats {
Box = 0,
Check = 1,
Circle = 2,
Decimal = 16,
Diamond = 3,
Disc = 4,
Hyphen = 5,
LowercaseAlpha = 10,
LowercaseHexadecimal = 7,
LowercaseLatin = 12,
LowercaseRoman = 14,
Octal = 9,
Square = 6,
UppercaseAlpha = 11,
UppercaseHexadecimal = 8,
UppercaseLatin = 13,
UppercaseRoman = 15,
}
public static class NSTextListMarkerFormatsExtensions {
// methods
public static Foundation.NSString GetConstant (this NSTextListMarkerFormats self);
public static NSTextListMarkerFormats GetValue (Foundation.NSString constant);
}
[Serializable]
[Flags]
public enum NSTextListOptions {
PrependEnclosingMarker = 1,
}
[Serializable]
public enum UIAlertControllerSeverity {
Critical = 1,
Default = 0,
}
[Serializable]
public enum UIButtonConfigurationIndicator {
Automatic = 0,
None = 1,
Popup = 2,
}
[Serializable]
public enum UICollectionViewSelfSizingInvalidation {
Disabled = 0,
Enabled = 1,
EnabledIncludingConstraints = 2,
}
public static class UIContentView_Extensions {
// methods
public static bool SupportsConfiguration (this IUIContentView This, IUIContentConfiguration configuration);
}
[Serializable]
public enum UIFindSessionSearchResultDisplayStyle {
CurrentAndTotal = 0,
None = 2,
Total = 1,
}
[Serializable]
public enum UIFontWidth {
Compressed = 3,
Condensed = 0,
Expanded = 2,
Standard = 1,
}
[Serializable]
public enum UIMenuElementSize {
Large = 2,
Medium = 1,
Small = 0,
}
[Serializable]
public enum UINSToolbarItemPresentationSize {
Large = 3,
Regular = 0,
Small = 1,
Unspecified = -1,
}
[Serializable]
public enum UIPageControlDirection {
BottomToTop = 4,
LeftToRight = 1,
Natural = 0,
RightToLeft = 2,
TopToBottom = 3,
}
[Serializable]
public enum UIPasteControlDisplayMode {
IconAndLabel = 0,
IconOnly = 1,
LabelOnly = 2,
}
public class UISceneWindowingBehaviors : Foundation.NSObject {
// constructors
protected UISceneWindowingBehaviors (Foundation.NSObjectFlag t);
protected UISceneWindowingBehaviors (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual bool Closable { get; set; }
public virtual bool Miniaturizable { get; set; }
}
[Serializable]
public enum UIScreenReferenceDisplayModeStatus {
Enabled = 3,
Limited = 2,
NotEnabled = 1,
NotSupported = 0,
}
[Serializable]
public enum UITableViewSelfSizingInvalidation {
Disabled = 0,
Enabled = 1,
EnabledIncludingConstraints = 2,
}
[Serializable]
public enum UITextSearchMatchMethod {
Contains = 0,
FullWord = 2,
StartsWith = 1,
}
public class UIWindowSceneGeometry : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected UIWindowSceneGeometry (Foundation.NSObjectFlag t);
protected UIWindowSceneGeometry (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual CoreGraphics.CGRect SystemFrame { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class UIWindowSceneGeometryPreferences : Foundation.NSObject {
// constructors
public UIWindowSceneGeometryPreferences ();
protected UIWindowSceneGeometryPreferences (Foundation.NSObjectFlag t);
protected UIWindowSceneGeometryPreferences (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
}
public class UIWindowSceneGeometryPreferencesMac : UIKit.UIWindowSceneGeometryPreferences {
// constructors
public UIWindowSceneGeometryPreferencesMac ();
public UIWindowSceneGeometryPreferencesMac (CoreGraphics.CGRect systemFrame);
protected UIWindowSceneGeometryPreferencesMac (Foundation.NSObjectFlag t);
protected UIWindowSceneGeometryPreferencesMac (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual CoreGraphics.CGRect SystemFrame { get; set; }
}
Added properties:
public static UTType SHCustomCatalogContentType { get; }
public static UTType SHSignatureContentType { get; }
Added value:
BadgeInputInvalid = 1600,
Added property:
public virtual string FilterCriteria { get; set; }
Obsoleted fields:
[Obsolete ("Use 'Active2'.")]
Active = 0,
[Obsolete ("Use 'Critical2'.")]
Critical = 1,
[Obsolete ("Use 'Passive2'.")]
Passive = 2,
[Obsolete ("Use 'TimeSensitive2'.")]
TimeSensitive = 3,
Added values:
Active2 = 1,
Critical2 = 3,
Passive2 = 0,
TimeSensitive2 = 2,
Added methods:
public virtual void SetBadgeCount (nint newBadgeCount, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task SetBadgeCountAsync (nint newBadgeCount);
[Serializable]
public enum VSOriginatingDeviceCategory {
Mobile = 0,
Other = 1,
}
public class VSUserAccount : Foundation.NSObject {
// constructors
protected VSUserAccount (Foundation.NSObjectFlag t);
protected VSUserAccount (ObjCRuntime.NativeHandle handle);
public VSUserAccount (VSUserAccountType accountType, Foundation.NSUrl url);
// properties
public virtual string AccountProviderIdentifier { get; set; }
public virtual VSUserAccountType AccountType { get; set; }
public virtual string AuthenticationData { get; set; }
public virtual string BillingIdentifier { get; set; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual bool Deleted { get; set; }
public virtual VSOriginatingDeviceCategory DeviceCategory { get; }
public virtual bool FromCurrentDevice { get; }
public virtual string Identifier { get; set; }
public virtual bool RequiresSystemTrust { get; set; }
public virtual Foundation.NSDate SubscriptionBillingCycleEndDate { get; set; }
public virtual string[] TierIdentifiers { get; set; }
public virtual Foundation.NSUrl UpdateUrl { get; set; }
}
public class VSUserAccountManager : Foundation.NSObject {
// constructors
protected VSUserAccountManager (Foundation.NSObjectFlag t);
protected VSUserAccountManager (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public static VSUserAccountManager SharedUserAccountManager { get; }
// methods
public virtual void QueryUserAccounts (VSUserAccountQueryOptions options, System.Action<Foundation.NSArray<VSUserAccount>> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSArray<VSUserAccount>> QueryUserAccountsAsync (VSUserAccountQueryOptions options);
public virtual void UpdateUserAccount (VSUserAccount account, System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task UpdateUserAccountAsync (VSUserAccount account);
}
[Serializable]
public enum VSUserAccountQueryOption {
AllDevices = 1,
None = 0,
}
[Serializable]
[Flags]
public enum VSUserAccountQueryOptions {
AllDevices = 1,
None = 0,
}
[Serializable]
public enum VSUserAccountType {
Free = 0,
Paid = 1,
}
Added values:
Timeout = 20,
TuriCore = -1,
Added property:
public virtual VNPointsClassification PointsClassification { get; }
Added property:
public virtual bool KeepNetworkOutput { get; set; }
Added method:
public virtual CoreGraphics.CGAffineTransform CreateTransform (nuint width, nuint height);
Added values:
ScaleFillRotate90Ccw = 258,
ScaleFitRotate90Ccw = 257,
Added property:
public virtual bool AutomaticallyDetectsLanguage { get; set; }
[Serializable]
public enum VNPointsClassification {
ClosedPath = 2,
Disconnected = 0,
OpenPath = 1,
}
public class MPSGraph : Foundation.NSObject {
// constructors
public MPSGraph ();
protected MPSGraph (Foundation.NSObjectFlag t);
protected MPSGraph (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MPSGraphOptions Options { get; set; }
public virtual MPSGraphTensor[] PlaceholderTensors { get; }
// methods
public virtual MPSGraphExecutable Compile (MPSGraphDevice device, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphShapedType> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations, MPSGraphCompilationDescriptor compilationDescriptor);
public static MPSGraph Create ();
public virtual void Encode (MetalPerformanceShaders.MPSCommandBuffer commandBuffer, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphOperation[] targetOperations, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, MPSGraphExecutionDescriptor executionDescriptor);
public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> Encode (MetalPerformanceShaders.MPSCommandBuffer commandBuffer, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations, MPSGraphExecutionDescriptor executionDescriptor);
public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> Run (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations);
public virtual void Run (Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphOperation[] targetOperations, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary);
public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> Run (Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations);
public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> RunAsync (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations, MPSGraphExecutionDescriptor executionDescriptor);
public virtual void RunAsync (Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphOperation[] targetOperations, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, MPSGraphExecutionDescriptor executionDescriptor);
public virtual Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> RunAsync (Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MPSGraphTensor[] targetTensors, MPSGraphOperation[] targetOperations, MPSGraphExecutionDescriptor executionDescriptor);
}
public class MPSGraphCompilationDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphCompilationDescriptor ();
protected MPSGraphCompilationDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphCompilationDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void DisableTypeInference ();
}
public sealed delegate MPSGraphCompletionHandler : System.MulticastDelegate {
// constructors
public MPSGraphCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, Foundation.NSError error);
}
public sealed delegate MPSGraphControlFlowDependencyBlock : System.MulticastDelegate {
// constructors
public MPSGraphControlFlowDependencyBlock (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (System.AsyncCallback callback, object object);
public virtual MPSGraphTensor[] EndInvoke (System.IAsyncResult result);
public virtual MPSGraphTensor[] Invoke ();
}
public class MPSGraphConvolution2DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphConvolution2DOpDescriptor ();
protected MPSGraphConvolution2DOpDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphConvolution2DOpDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MPSGraphTensorNamedDataLayout DataLayout { get; set; }
public virtual nuint DilationRateInX { get; set; }
public virtual nuint DilationRateInY { get; set; }
public virtual nuint Groups { get; set; }
public virtual nuint PaddingBottom { get; set; }
public virtual nuint PaddingLeft { get; set; }
public virtual nuint PaddingRight { get; set; }
public virtual MPSGraphPaddingStyle PaddingStyle { get; set; }
public virtual nuint PaddingTop { get; set; }
public virtual nuint StrideInX { get; set; }
public virtual nuint StrideInY { get; set; }
public virtual MPSGraphTensorNamedDataLayout WeightsLayout { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static MPSGraphConvolution2DOpDescriptor Create (nuint strideInX, nuint strideInY, nuint dilationRateInX, nuint dilationRateInY, nuint groups, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout);
public static MPSGraphConvolution2DOpDescriptor Create (nuint strideInX, nuint strideInY, nuint dilationRateInX, nuint dilationRateInY, nuint groups, nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout);
public virtual void SetExplicitPadding (nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom);
}
public class MPSGraphCreateSparseOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphCreateSparseOpDescriptor ();
protected MPSGraphCreateSparseOpDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphCreateSparseOpDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MetalPerformanceShaders.MPSDataType DataType { get; set; }
public virtual MPSGraphSparseStorageType SparseStorageType { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static MPSGraphCreateSparseOpDescriptor Create (MPSGraphSparseStorageType sparseStorageType, MetalPerformanceShaders.MPSDataType dataType);
}
public class MPSGraphDepthwiseConvolution2DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphDepthwiseConvolution2DOpDescriptor ();
protected MPSGraphDepthwiseConvolution2DOpDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphDepthwiseConvolution2DOpDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MPSGraphTensorNamedDataLayout DataLayout { get; set; }
public virtual nuint DilationRateInX { get; set; }
public virtual nuint DilationRateInY { get; set; }
public virtual nuint PaddingBottom { get; set; }
public virtual nuint PaddingLeft { get; set; }
public virtual nuint PaddingRight { get; set; }
public virtual MPSGraphPaddingStyle PaddingStyle { get; set; }
public virtual nuint PaddingTop { get; set; }
public virtual nuint StrideInX { get; set; }
public virtual nuint StrideInY { get; set; }
public virtual MPSGraphTensorNamedDataLayout WeightsLayout { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static MPSGraphDepthwiseConvolution2DOpDescriptor Create (MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout);
public static MPSGraphDepthwiseConvolution2DOpDescriptor Create (nuint strideInX, nuint strideInY, nuint dilationRateInX, nuint dilationRateInY, nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout, MPSGraphTensorNamedDataLayout weightsLayout);
public virtual void SetExplicitPadding (nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom);
}
public class MPSGraphDepthwiseConvolution3DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphDepthwiseConvolution3DOpDescriptor ();
protected MPSGraphDepthwiseConvolution3DOpDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphDepthwiseConvolution3DOpDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public virtual nint ChannelDimensionIndex { get; set; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual int[] DilationRates { get; set; }
public virtual MPSGraphPaddingStyle PaddingStyle { get; set; }
public virtual int[] PaddingValues { get; set; }
public virtual int[] Strides { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static MPSGraphDepthwiseConvolution3DOpDescriptor Create (MPSGraphPaddingStyle paddingStyle);
public static MPSGraphDepthwiseConvolution3DOpDescriptor Create (int[] strides, int[] dilationRates, int[] paddingValues, MPSGraphPaddingStyle paddingStyle);
}
public class MPSGraphDevice : Foundation.NSObject {
// constructors
public MPSGraphDevice ();
protected MPSGraphDevice (Foundation.NSObjectFlag t);
protected MPSGraphDevice (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual Metal.IMTLDevice MetalDevice { get; }
public virtual MPSGraphDeviceType Type { get; }
// methods
public static MPSGraphDevice Create (Metal.IMTLDevice metalDevice);
}
[Serializable]
public enum MPSGraphDeviceType {
Metal = 0,
}
public class MPSGraphExecutable : Foundation.NSObject {
// constructors
public MPSGraphExecutable ();
protected MPSGraphExecutable (Foundation.NSObjectFlag t);
protected MPSGraphExecutable (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MPSGraphTensor[] FeedTensors { get; }
public virtual MPSGraphOptions Options { get; set; }
public virtual MPSGraphTensor[] TargetTensors { get; }
// methods
public virtual MPSGraphTensorData[] Encode (MetalPerformanceShaders.MPSCommandBuffer commandBuffer, MPSGraphTensorData[] inputsArray, MPSGraphTensorData[] resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor);
public virtual MPSGraphTensorData[] Run (Metal.IMTLCommandQueue commandQueue, MPSGraphTensorData[] inputsArray, MPSGraphTensorData[] resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor);
public virtual MPSGraphTensorData[] RunAsync (Metal.IMTLCommandQueue commandQueue, MPSGraphTensorData[] inputsArray, MPSGraphTensorData[] resultsArray, MPSGraphExecutableExecutionDescriptor executionDescriptor);
public virtual void Specialize (MPSGraphDevice device, MPSGraphType[] inputTypes, MPSGraphCompilationDescriptor compilationDescriptor);
}
public sealed delegate MPSGraphExecutableCompletionHandler : System.MulticastDelegate {
// constructors
public MPSGraphExecutableCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (MPSGraphTensorData[] results, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (MPSGraphTensorData[] results, Foundation.NSError error);
}
public class MPSGraphExecutableExecutionDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphExecutableExecutionDescriptor ();
protected MPSGraphExecutableExecutionDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphExecutableExecutionDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MPSGraphExecutableCompletionHandler CompletionHandler { get; set; }
public virtual MPSGraphExecutableScheduledHandler ScheduledHandler { get; set; }
public virtual bool WaitUntilCompleted { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public sealed delegate MPSGraphExecutableScheduledHandler : System.MulticastDelegate {
// constructors
public MPSGraphExecutableScheduledHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (MPSGraphTensorData[] results, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (MPSGraphTensorData[] results, Foundation.NSError error);
}
public class MPSGraphExecutionDescriptor : Foundation.NSObject {
// constructors
public MPSGraphExecutionDescriptor ();
protected MPSGraphExecutionDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphExecutionDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MPSGraphCompletionHandler CompletionHandler { get; set; }
public virtual MPSGraphScheduledHandler ScheduledHandler { get; set; }
public virtual bool WaitUntilCompleted { get; set; }
}
public sealed delegate MPSGraphForLoopBodyBlock : System.MulticastDelegate {
// constructors
public MPSGraphForLoopBodyBlock (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (MPSGraphTensor index, MPSGraphTensor[] iterationArguments, System.AsyncCallback callback, object object);
public virtual MPSGraphTensor[] EndInvoke (System.IAsyncResult result);
public virtual MPSGraphTensor[] Invoke (MPSGraphTensor index, MPSGraphTensor[] iterationArguments);
}
public sealed delegate MPSGraphIfThenElseBlock : System.MulticastDelegate {
// constructors
public MPSGraphIfThenElseBlock (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (System.AsyncCallback callback, object object);
public virtual MPSGraphTensor[] EndInvoke (System.IAsyncResult result);
public virtual MPSGraphTensor[] Invoke ();
}
[Serializable]
public enum MPSGraphLossReductionType {
Axis = 0,
Mean = 2,
Sum = 1,
}
public static class MPSGraphMemoryOps_Extensions {
// methods
public static MPSGraphTensor Constant (this MPSGraph graph, float scalar);
public static MPSGraphTensor Constant (this MPSGraph graph, System.ReadOnlySpan<float> values, int[] shape);
public static MPSGraphTensor Variable (this MPSGraph graph, System.ReadOnlySpan<float> initialValues, int[] shape, string name);
public static MPSGraphTensor Variable (this MPSGraph graph, float initialValue, int[] shape, string name);
}
public class MPSGraphOperation : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MPSGraphOperation (Foundation.NSObjectFlag t);
protected MPSGraphOperation (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MPSGraphOperation[] ControlDependencies { get; }
public virtual MPSGraph Graph { get; }
public virtual MPSGraphTensor[] InputTensors { get; }
public virtual string Name { get; }
public virtual MPSGraphTensor[] OutputTensors { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
[Serializable]
[Flags]
public enum MPSGraphOptions {
Default = 1,
None = 0,
SynchronizeResults = 1,
Verbose = 2,
}
[Serializable]
public enum MPSGraphPaddingMode {
AntiPeriodic = 6,
ClampToEdge = 3,
Constant = 0,
Periodic = 5,
Reflect = 1,
Symmetric = 2,
Zero = 4,
}
[Serializable]
public enum MPSGraphPaddingStyle {
Explicit = 0,
ExplicitOffset = 3,
Same = 2,
Valid = 1,
}
public class MPSGraphPooling2DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphPooling2DOpDescriptor ();
protected MPSGraphPooling2DOpDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphPooling2DOpDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public virtual bool CeilMode { get; set; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MPSGraphTensorNamedDataLayout DataLayout { get; set; }
public virtual nuint DilationRateInX { get; set; }
public virtual nuint DilationRateInY { get; set; }
public virtual bool IncludeZeroPadToAverage { get; set; }
public virtual nuint KernelHeight { get; set; }
public virtual nuint KernelWidth { get; set; }
public virtual nuint PaddingBottom { get; set; }
public virtual nuint PaddingLeft { get; set; }
public virtual nuint PaddingRight { get; set; }
public virtual MPSGraphPaddingStyle PaddingStyle { get; set; }
public virtual nuint PaddingTop { get; set; }
public virtual nuint StrideInX { get; set; }
public virtual nuint StrideInY { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static MPSGraphPooling2DOpDescriptor Create (nuint kernelWidth, nuint kernelHeight, nuint strideInX, nuint strideInY, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout);
public static MPSGraphPooling2DOpDescriptor Create (nuint kernelWidth, nuint kernelHeight, nuint strideInX, nuint strideInY, nuint dilationRateInX, nuint dilationRateInY, nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout);
public virtual void SetExplicitPadding (nuint paddingLeft, nuint paddingRight, nuint paddingTop, nuint paddingBottom);
}
public class MPSGraphPooling4DOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphPooling4DOpDescriptor ();
protected MPSGraphPooling4DOpDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphPooling4DOpDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public virtual bool CeilMode { get; set; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual int[] DilationRates { get; set; }
public virtual bool IncludeZeroPadToAverage { get; set; }
public virtual int[] KernelSizes { get; set; }
public virtual MPSGraphPaddingStyle PaddingStyle { get; set; }
public virtual int[] PaddingValues { get; set; }
public virtual int[] Strides { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static MPSGraphPooling4DOpDescriptor Create (int[] kernelSizes, MPSGraphPaddingStyle paddingStyle);
public static MPSGraphPooling4DOpDescriptor Create (int[] kernelSizes, int[] strides, int[] dilationRates, int[] paddingValues, MPSGraphPaddingStyle paddingStyle);
}
[Serializable]
public enum MPSGraphRandomDistribution {
Normal = 1,
TruncatedNormal = 2,
Uniform = 0,
}
[Serializable]
public enum MPSGraphRandomNormalSamplingMethod {
BoxMuller = 1,
InvCdf = 0,
}
public class MPSGraphRandomOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphRandomOpDescriptor ();
protected MPSGraphRandomOpDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphRandomOpDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MetalPerformanceShaders.MPSDataType DataType { get; set; }
public virtual MPSGraphRandomDistribution Distribution { get; set; }
public virtual float Max { get; set; }
public virtual nint MaxInteger { get; set; }
public virtual float Mean { get; set; }
public virtual float Min { get; set; }
public virtual nint MinInteger { get; set; }
public virtual MPSGraphRandomNormalSamplingMethod SamplingMethod { get; set; }
public virtual float StandardDeviation { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static MPSGraphRandomOpDescriptor Create (MPSGraphRandomDistribution distribution, MetalPerformanceShaders.MPSDataType dataType);
}
[Serializable]
public enum MPSGraphReductionMode {
ArgumentMax = 5,
ArgumentMin = 4,
Max = 1,
Min = 0,
Product = 3,
Sum = 2,
}
[Serializable]
public enum MPSGraphResizeMode {
Bilinear = 1,
Nearest = 0,
}
[Serializable]
public enum MPSGraphScatterMode {
Add = 0,
Div = 3,
Max = 5,
Min = 4,
Mul = 2,
Set = 6,
Sub = 1,
}
public sealed delegate MPSGraphScheduledHandler : System.MulticastDelegate {
// constructors
public MPSGraphScheduledHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, Foundation.NSError error);
}
public class MPSGraphShapedType : MetalPerformanceShadersGraph.MPSGraphType {
// constructors
public MPSGraphShapedType ();
protected MPSGraphShapedType (Foundation.NSObjectFlag t);
protected MPSGraphShapedType (ObjCRuntime.NativeHandle handle);
public MPSGraphShapedType (int[] shape, MetalPerformanceShaders.MPSDataType dataType);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MetalPerformanceShaders.MPSDataType DataType { get; set; }
public virtual int[] Shape { get; set; }
// methods
public virtual bool IsEqualTo (MPSGraphShapedType object);
}
[Serializable]
public enum MPSGraphSparseStorageType {
Coo = 0,
Csc = 1,
Csr = 2,
}
public class MPSGraphStencilOpDescriptor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphStencilOpDescriptor ();
protected MPSGraphStencilOpDescriptor (Foundation.NSObjectFlag t);
protected MPSGraphStencilOpDescriptor (ObjCRuntime.NativeHandle handle);
// properties
public virtual MPSGraphPaddingMode BoundaryMode { get; set; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual int[] DilationRates { get; set; }
public virtual int[] ExplicitPadding { get; set; }
public virtual int[] Offsets { get; set; }
public virtual float PaddingConstant { get; set; }
public virtual MPSGraphPaddingStyle PaddingStyle { get; set; }
public virtual MPSGraphReductionMode ReductionMode { get; set; }
public virtual int[] Strides { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static MPSGraphStencilOpDescriptor Create (MPSGraphPaddingStyle paddingStyle);
public static MPSGraphStencilOpDescriptor Create (int[] explicitPadding);
public static MPSGraphStencilOpDescriptor Create (int[] offsets, int[] explicitPadding);
public static MPSGraphStencilOpDescriptor Create (MPSGraphReductionMode reductionMode, int[] offsets, int[] strides, int[] dilationRates, int[] explicitPadding, MPSGraphPaddingMode boundaryMode, MPSGraphPaddingStyle paddingStyle, float paddingConstant);
}
public class MPSGraphTensor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MPSGraphTensor (Foundation.NSObjectFlag t);
protected MPSGraphTensor (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MetalPerformanceShaders.MPSDataType DataType { get; }
public virtual MPSGraphOperation Operation { get; }
public virtual int[] Shape { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class MPSGraphTensorData : Foundation.NSObject {
// constructors
public MPSGraphTensorData ();
public MPSGraphTensorData (Foundation.NSArray<MetalPerformanceShaders.MPSImage> imageBatch);
protected MPSGraphTensorData (Foundation.NSObjectFlag t);
public MPSGraphTensorData (MetalPerformanceShaders.MPSMatrix matrix);
public MPSGraphTensorData (MetalPerformanceShaders.MPSNDArray ndarray);
public MPSGraphTensorData (MetalPerformanceShaders.MPSVector vector);
protected MPSGraphTensorData (ObjCRuntime.NativeHandle handle);
public MPSGraphTensorData (MetalPerformanceShaders.MPSMatrix matrix, nuint rank);
public MPSGraphTensorData (MetalPerformanceShaders.MPSVector vector, nuint rank);
public MPSGraphTensorData (Metal.IMTLBuffer buffer, int[] shape, MetalPerformanceShaders.MPSDataType dataType);
public MPSGraphTensorData (MPSGraphDevice device, Foundation.NSData data, int[] shape, MetalPerformanceShaders.MPSDataType dataType);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MetalPerformanceShaders.MPSDataType DataType { get; }
public virtual MPSGraphDevice Device { get; }
public virtual MetalPerformanceShaders.MPSNDArray MPSNDArray { get; }
public virtual int[] Shape { get; }
// methods
public static MPSGraphTensorData Create (MetalPerformanceShaders.MPSImage[] imageBatch);
public static MPSGraphTensorData Create (Metal.IMTLDevice device, System.ReadOnlySpan<float> values, int[] shape);
public void Read (System.Span<float> values);
}
[Serializable]
public enum MPSGraphTensorNamedDataLayout {
Chw = 4,
Hw = 6,
Hwc = 5,
Hwio = 3,
Nchw = 0,
Nhwc = 1,
Oihw = 2,
}
public class MPSGraphType : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MPSGraphType ();
protected MPSGraphType (Foundation.NSObjectFlag t);
protected MPSGraphType (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class MPSGraphVariableOp : MetalPerformanceShadersGraph.MPSGraphOperation {
// constructors
protected MPSGraphVariableOp (Foundation.NSObjectFlag t);
protected MPSGraphVariableOp (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual MetalPerformanceShaders.MPSDataType DataType { get; }
public virtual int[] Shape { get; }
}
public sealed delegate MPSGraphWhileAfterBlock : System.MulticastDelegate {
// constructors
public MPSGraphWhileAfterBlock (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (MPSGraphTensor[] bodyBlockArguments, System.AsyncCallback callback, object object);
public virtual MPSGraphTensor[] EndInvoke (System.IAsyncResult result);
public virtual MPSGraphTensor[] Invoke (MPSGraphTensor[] bodyBlockArguments);
}
public sealed delegate MPSGraphWhileBeforeBlock : System.MulticastDelegate {
// constructors
public MPSGraphWhileBeforeBlock (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (MPSGraphTensor[] inputTensors, Foundation.NSMutableArray<MPSGraphTensor> resultTensors, System.AsyncCallback callback, object object);
public virtual MPSGraphTensor EndInvoke (System.IAsyncResult result);
public virtual MPSGraphTensor Invoke (MPSGraphTensor[] inputTensors, Foundation.NSMutableArray<MPSGraphTensor> resultTensors);
}
public static class MPSGraph_GatherNDOps {
// methods
public static MPSGraphTensor GatherND (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, nuint batchDimensions, string name);
}
public static class MPSGraph_GatherOps {
// methods
public static MPSGraphTensor Gather (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, nuint axis, nuint batchDimensions, string name);
}
public static class MPSGraph_MPSGraphActivationOps {
// methods
public static MPSGraphTensor LeakyReLU (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor alphaTensor, string name);
public static MPSGraphTensor LeakyReLU (this MPSGraph This, MPSGraphTensor tensor, double alpha, string name);
public static MPSGraphTensor LeakyReLUGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor alphaTensor, string name);
public static MPSGraphTensor ReLU (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor ReLUGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, string name);
public static MPSGraphTensor Sigmoid (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor SigmoidGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, string name);
public static MPSGraphTensor SoftMax (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor SoftMaxGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, nint axis, string name);
}
public static class MPSGraph_MPSGraphArithmeticOps {
// methods
public static MPSGraphTensor Absolute (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Acos (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Acosh (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Addition (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Asin (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Asinh (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Atan (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Atan2 (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Atanh (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Ceil (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Clamp (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor minValueTensor, MPSGraphTensor maxValueTensor, string name);
public static MPSGraphTensor Cos (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Cosh (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Division (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor DivisionNoNaN (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor EqualTo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Erf (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Exponent (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor ExponentBase10 (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor ExponentBase2 (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Floor (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor FloorModulo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor GreaterThan (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor GreaterThanOrEqualTo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Identity (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor IsFinite (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor IsInfinite (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor IsNaN (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor LessThan (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor LessThanOrEqualTo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Logarithm (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor LogarithmBase10 (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor LogarithmBase2 (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor LogicalAnd (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor LogicalNand (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor LogicalNor (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor LogicalOr (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor LogicalXnor (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor LogicalXor (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Maximum (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor MaximumWithNaNPropagation (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Minimum (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor MinimumWithNaNPropagation (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Modulo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Multiplication (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Negative (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Not (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor NotEqualTo (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Power (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Reciprocal (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor ReverseSquareRoot (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Rint (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Round (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Select (this MPSGraph This, MPSGraphTensor predicateTensor, MPSGraphTensor truePredicateTensor, MPSGraphTensor falseSelectTensor, string name);
public static MPSGraphTensor Sign (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Signbit (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Sin (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Sinh (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Square (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor SquareRoot (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Subtraction (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
public static MPSGraphTensor Tan (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Tanh (this MPSGraph This, MPSGraphTensor tensor, string name);
}
public static class MPSGraph_MPSGraphControlFlowOps {
// methods
public static MPSGraphTensor[] ControlDependency (this MPSGraph This, MPSGraphOperation[] operations, MPSGraphControlFlowDependencyBlock dependentBlock, string name);
public static MPSGraphTensor[] For (this MPSGraph This, MPSGraphTensor numberOfIterations, MPSGraphTensor[] initialBodyArguments, MPSGraphForLoopBodyBlock body, string name);
public static MPSGraphTensor[] For (this MPSGraph This, MPSGraphTensor lowerBound, MPSGraphTensor upperBound, MPSGraphTensor step, MPSGraphTensor[] initialBodyArguments, MPSGraphForLoopBodyBlock body, string name);
public static MPSGraphTensor[] If (this MPSGraph This, MPSGraphTensor predicateTensor, MPSGraphIfThenElseBlock thenBlock, MPSGraphIfThenElseBlock elseBlock, string name);
public static MPSGraphTensor[] While (this MPSGraph This, MPSGraphTensor[] initialInputs, MPSGraphWhileBeforeBlock before, MPSGraphWhileAfterBlock after, string name);
}
public static class MPSGraph_MPSGraphConvolutionOps {
// methods
public static MPSGraphTensor Convolution2D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphConvolution2DOpDescriptor descriptor, string name);
public static MPSGraphTensor Convolution2DDataGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor weights, MPSGraphTensor outputShapeTensor, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name);
public static MPSGraphTensor Convolution2DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, int[] outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name);
public static MPSGraphTensor Convolution2DWeightsGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor outputShapeTensor, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name);
public static MPSGraphTensor Convolution2DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor source, int[] outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name);
}
public static class MPSGraph_MPSGraphConvolutionTransposeOps {
// methods
public static MPSGraphTensor ConvolutionTranspose2D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphTensor outputShape, MPSGraphConvolution2DOpDescriptor descriptor, string name);
public static MPSGraphTensor ConvolutionTranspose2D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, int[] outputShape, MPSGraphConvolution2DOpDescriptor descriptor, string name);
public static MPSGraphTensor ConvolutionTranspose2DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, MPSGraphTensor outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name);
public static MPSGraphTensor ConvolutionTranspose2DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, int[] outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name);
public static MPSGraphTensor ConvolutionTranspose2DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor source, MPSGraphTensor outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name);
public static MPSGraphTensor ConvolutionTranspose2DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor source, int[] outputShape, MPSGraphConvolution2DOpDescriptor forwardConvolutionDescriptor, string name);
}
public static class MPSGraph_MPSGraphDepthwiseConvolutionOps {
// methods
public static MPSGraphTensor DepthwiseConvolution2D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphDepthwiseConvolution2DOpDescriptor descriptor, string name);
public static MPSGraphTensor DepthwiseConvolution2DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, int[] outputShape, MPSGraphDepthwiseConvolution2DOpDescriptor descriptor, string name);
public static MPSGraphTensor DepthwiseConvolution2DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor source, int[] outputShape, MPSGraphDepthwiseConvolution2DOpDescriptor descriptor, string name);
public static MPSGraphTensor DepthwiseConvolution3D (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphDepthwiseConvolution3DOpDescriptor descriptor, string name);
public static MPSGraphTensor DepthwiseConvolution3DDataGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor weights, int[] outputShape, MPSGraphDepthwiseConvolution3DOpDescriptor descriptor, string name);
public static MPSGraphTensor DepthwiseConvolution3DWeightsGradient (this MPSGraph This, MPSGraphTensor incomingGradient, MPSGraphTensor source, int[] outputShape, MPSGraphDepthwiseConvolution3DOpDescriptor descriptor, string name);
}
public static class MPSGraph_MPSGraphGradientOps {
// methods
public static Foundation.NSDictionary<MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensor> Gradients (this MPSGraph This, MPSGraphTensor of, MPSGraphTensor[] with, string name);
}
public static class MPSGraph_MPSGraphLossOps {
// methods
public static MPSGraphTensor SoftMaxCrossEntropy (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor labels, nint axis, MPSGraphLossReductionType reductionType, string name);
public static MPSGraphTensor SoftMaxCrossEntropyGradient (this MPSGraph This, MPSGraphTensor gradientTensor, MPSGraphTensor sourceTensor, MPSGraphTensor labelsTensor, nint axis, MPSGraphLossReductionType reductionType, string name);
}
public static class MPSGraph_MPSGraphMatrixMultiplicationOps {
// methods
public static MPSGraphTensor MatrixMultiplication (this MPSGraph This, MPSGraphTensor primaryTensor, MPSGraphTensor secondaryTensor, string name);
}
public static class MPSGraph_MPSGraphNormalizationOps {
// methods
public static MPSGraphTensor Mean (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor Normalization (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor mean, MPSGraphTensor variance, MPSGraphTensor gamma, MPSGraphTensor beta, float epsilon, string name);
public static MPSGraphTensor NormalizationBetaGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, int[] axes, string name);
public static MPSGraphTensor NormalizationGammaGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, MPSGraphTensor meanTensor, MPSGraphTensor varianceTensor, int[] axes, float epsilon, string name);
public static MPSGraphTensor NormalizationGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, MPSGraphTensor meanTensor, MPSGraphTensor varianceTensor, MPSGraphTensor gamma, MPSGraphTensor gammaGradient, MPSGraphTensor betaGradient, int[] axes, float epsilon, string name);
public static MPSGraphTensor Variance (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor Variance (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor meanTensor, int[] axes, string name);
}
public static class MPSGraph_MPSGraphOneHotOps {
// methods
public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, string name);
public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, MetalPerformanceShaders.MPSDataType dataType, string name);
public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, nuint axis, string name);
public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, nuint axis, MetalPerformanceShaders.MPSDataType dataType, string name);
public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, MetalPerformanceShaders.MPSDataType dataType, double onValue, double offValue, string name);
public static MPSGraphTensor OneHot (this MPSGraph This, MPSGraphTensor indicesTensor, nuint depth, nuint axis, MetalPerformanceShaders.MPSDataType dataType, double onValue, double offValue, string name);
}
public static class MPSGraph_MPSGraphOptimizerOps {
// methods
public static MPSGraphOperation ApplyStochasticGradientDescent (this MPSGraph This, MPSGraphTensor learningRate, MPSGraphVariableOp variable, MPSGraphTensor gradient, string name);
public static MPSGraphTensor StochasticGradientDescent (this MPSGraph This, MPSGraphTensor learningRate, MPSGraphTensor values, MPSGraphTensor gradient, string name);
}
public static class MPSGraph_MPSGraphPoolingOps {
// methods
public static MPSGraphTensor AvgPooling2D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, string name);
public static MPSGraphTensor AvgPooling2DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, string name);
public static MPSGraphTensor AvgPooling4D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name);
public static MPSGraphTensor AvgPooling4DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name);
public static MPSGraphTensor L2NormPooling4D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name);
public static MPSGraphTensor L2NormPooling4DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name);
public static MPSGraphTensor MaxPooling2D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, string name);
public static MPSGraphTensor MaxPooling2DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling2DOpDescriptor descriptor, string name);
public static MPSGraphTensor MaxPooling4D (this MPSGraph This, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name);
public static MPSGraphTensor MaxPooling4DGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphPooling4DOpDescriptor descriptor, string name);
}
public static class MPSGraph_MPSGraphRandomOps {
// methods
public static MPSGraphTensor Dropout (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor rate, string name);
public static MPSGraphTensor Dropout (this MPSGraph This, MPSGraphTensor tensor, double rate, string name);
public static MPSGraphTensor Random (this MPSGraph This, MPSGraphTensor shapeTensor, MPSGraphRandomOpDescriptor descriptor, string name);
public static MPSGraphTensor Random (this MPSGraph This, int[] shape, MPSGraphRandomOpDescriptor descriptor, string name);
public static MPSGraphTensor[] Random (this MPSGraph This, MPSGraphTensor shapeTensor, MPSGraphRandomOpDescriptor descriptor, MPSGraphTensor state, string name);
public static MPSGraphTensor Random (this MPSGraph This, MPSGraphTensor shapeTensor, MPSGraphRandomOpDescriptor descriptor, nuint seed, string name);
public static MPSGraphTensor[] Random (this MPSGraph This, int[] shape, MPSGraphRandomOpDescriptor descriptor, MPSGraphTensor state, string name);
public static MPSGraphTensor Random (this MPSGraph This, int[] shape, MPSGraphRandomOpDescriptor descriptor, nuint seed, string name);
public static MPSGraphTensor RandomPhiloxState (this MPSGraph This, nuint seed, string name);
public static MPSGraphTensor RandomPhiloxState (this MPSGraph This, nuint counterLow, nuint counterHigh, nuint key, string name);
public static MPSGraphTensor RandomUniform (this MPSGraph This, MPSGraphTensor shapeTensor, string name);
public static MPSGraphTensor RandomUniform (this MPSGraph This, int[] shape, string name);
public static MPSGraphTensor[] RandomUniform (this MPSGraph This, MPSGraphTensor shapeTensor, MPSGraphTensor state, string name);
public static MPSGraphTensor RandomUniform (this MPSGraph This, MPSGraphTensor shapeTensor, nuint seed, string name);
public static MPSGraphTensor[] RandomUniform (this MPSGraph This, int[] shape, MPSGraphTensor state, string name);
public static MPSGraphTensor RandomUniform (this MPSGraph This, int[] shape, nuint seed, string name);
}
public static class MPSGraph_MPSGraphReductionOps {
// methods
public static MPSGraphTensor ReductionArgMaximum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor ReductionArgMinimum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor ReductionMaximum (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor ReductionMaximum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor ReductionMaximumPropagateNaN (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor ReductionMaximumPropagateNaN (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor ReductionMinimum (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor ReductionMinimum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor ReductionMinimumPropagateNaN (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor ReductionMinimumPropagateNaN (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor ReductionProduct (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor ReductionProduct (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor ReductionSum (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor ReductionSum (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
}
public static class MPSGraph_MPSGraphResizeOps {
// methods
public static MPSGraphTensor Resize (this MPSGraph This, MPSGraphTensor imagesTensor, MPSGraphTensor size, MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MPSGraphTensorNamedDataLayout layout, string name);
public static MPSGraphTensor Resize (this MPSGraph This, MPSGraphTensor imagesTensor, int[] size, MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MPSGraphTensorNamedDataLayout layout, string name);
public static MPSGraphTensor ResizeGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor input, MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MPSGraphTensorNamedDataLayout layout, string name);
}
public static class MPSGraph_MPSGraphScatterOps {
// methods
public static MPSGraphTensor Scatter (this MPSGraph This, MPSGraphTensor dataTensor, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, nint axis, MPSGraphScatterMode mode, string name);
public static MPSGraphTensor Scatter (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, int[] shape, nint axis, MPSGraphScatterMode mode, string name);
}
public static class MPSGraph_MPSGraphSparseOps {
// methods
public static MPSGraphTensor Sparse (this MPSGraph This, MPSGraphCreateSparseOpDescriptor sparseDescriptor, MPSGraphTensor[] inputTensorArray, int[] shape, string name);
public static MPSGraphTensor Sparse (this MPSGraph This, MPSGraphSparseStorageType sparseStorageType, MPSGraphTensor[] inputTensorArray, int[] shape, MetalPerformanceShaders.MPSDataType dataType, string name);
}
public static class MPSGraph_MPSGraphStencilOps {
// methods
public static MPSGraphTensor Stencil (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor weights, MPSGraphStencilOpDescriptor descriptor, string name);
}
public static class MPSGraph_MPSGraphTensorShapeOps {
// methods
public static MPSGraphTensor Broadcast (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor shapeTensor, string name);
public static MPSGraphTensor Broadcast (this MPSGraph This, MPSGraphTensor tensor, int[] shape, string name);
public static MPSGraphTensor Cast (this MPSGraph This, MPSGraphTensor tensor, MetalPerformanceShaders.MPSDataType type, string name);
public static MPSGraphTensor Concat (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor tensor2, nint dimensionIndex, string name);
public static MPSGraphTensor ConcatTensors (this MPSGraph This, MPSGraphTensor[] tensors, nint dimensionIndex, string name);
public static MPSGraphTensor ConcatTensors (this MPSGraph This, MPSGraphTensor[] tensors, nint dimensionIndex, bool interleave, string name);
public static MPSGraphTensor DepthToSpace2D (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor widthAxisTensor, MPSGraphTensor heightAxisTensor, MPSGraphTensor depthAxisTensor, nuint blockSize, bool usePixelShuffleOrder, string name);
public static MPSGraphTensor DepthToSpace2D (this MPSGraph This, MPSGraphTensor tensor, nuint widthAxis, nuint heightAxis, nuint depthAxis, nuint blockSize, bool usePixelShuffleOrder, string name);
public static MPSGraphTensor Flatten2D (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor axisTensor, string name);
public static MPSGraphTensor Flatten2D (this MPSGraph This, MPSGraphTensor tensor, nint axis, string name);
public static MPSGraphTensor Pad (this MPSGraph This, MPSGraphTensor tensor, MPSGraphPaddingMode paddingMode, int[] leftPadding, int[] rightPadding, double constantValue, string name);
public static MPSGraphTensor PadGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, MPSGraphPaddingMode paddingMode, int[] leftPadding, int[] rightPadding, string name);
public static MPSGraphTensor Reshape (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor shapeTensor, string name);
public static MPSGraphTensor Reshape (this MPSGraph This, MPSGraphTensor tensor, int[] shape, string name);
public static MPSGraphTensor Reverse (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Reverse (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor axesTensor, string name);
public static MPSGraphTensor Reverse (this MPSGraph This, MPSGraphTensor tensor, int[] axes, string name);
public static MPSGraphTensor Shape (this MPSGraph This, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Slice (this MPSGraph This, MPSGraphTensor tensor, int[] starts, int[] ends, int[] strides, string name);
public static MPSGraphTensor Slice (this MPSGraph This, MPSGraphTensor tensor, nuint dimensionIndex, nint start, nint length, string name);
public static MPSGraphTensor Slice (this MPSGraph This, MPSGraphTensor tensor, int[] starts, int[] ends, int[] strides, uint startMask, uint endMask, uint squeezeMask, string name);
public static MPSGraphTensor SliceGradient (this MPSGraph This, MPSGraphTensor inputGradientTensor, MPSGraphTensor fwdInShapeTensor, int[] starts, int[] ends, int[] strides, string name);
public static MPSGraphTensor SliceGradient (this MPSGraph This, MPSGraphTensor inputGradientTensor, MPSGraphTensor fwdInShapeTensor, int[] starts, int[] ends, int[] strides, uint startMask, uint endMask, uint squeezeMask, string name);
public static MPSGraphTensor SpaceToDepth2D (this MPSGraph This, MPSGraphTensor tensor, MPSGraphTensor widthAxisTensor, MPSGraphTensor heightAxisTensor, MPSGraphTensor depthAxisTensor, nuint blockSize, bool usePixelShuffleOrder, string name);
public static MPSGraphTensor SpaceToDepth2D (this MPSGraph This, MPSGraphTensor tensor, nuint widthAxis, nuint heightAxis, nuint depthAxis, nuint blockSize, bool usePixelShuffleOrder, string name);
public static MPSGraphTensor Tile (this MPSGraph This, MPSGraphTensor tensor, int[] multiplier, string name);
public static MPSGraphTensor TileGradient (this MPSGraph This, MPSGraphTensor incomingGradientTensor, MPSGraphTensor sourceTensor, int[] multiplier, string name);
public static MPSGraphTensor Transpose (this MPSGraph This, MPSGraphTensor tensor, nuint dimensionIndex, nuint dimensionIndex2, string name);
}
public static class MPSGraph_MPSGraphTopKGradientOps {
// methods
public static MPSGraphTensor TopKGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, MPSGraphTensor kTensor, string name);
public static MPSGraphTensor TopKGradient (this MPSGraph This, MPSGraphTensor gradient, MPSGraphTensor source, nuint k, string name);
}
public static class MPSGraph_MPSGraphTopKOps {
// methods
public static MPSGraphTensor[] TopK (this MPSGraph This, MPSGraphTensor source, MPSGraphTensor kTensor, string name);
public static MPSGraphTensor[] TopK (this MPSGraph This, MPSGraphTensor source, nuint k, string name);
}
public static class MPSGraph_MemoryOps {
// methods
public static MPSGraphOperation Assign (this MPSGraph This, MPSGraphTensor variable, MPSGraphTensor tensor, string name);
public static MPSGraphTensor Constant (this MPSGraph This, double scalar, MetalPerformanceShaders.MPSDataType dataType);
public static MPSGraphTensor Constant (this MPSGraph This, Foundation.NSData data, int[] shape, MetalPerformanceShaders.MPSDataType dataType);
public static MPSGraphTensor Constant (this MPSGraph This, double scalar, int[] shape, MetalPerformanceShaders.MPSDataType dataType);
public static MPSGraphTensor Placeholder (this MPSGraph This, int[] shape, string name);
public static MPSGraphTensor Placeholder (this MPSGraph This, int[] shape, MetalPerformanceShaders.MPSDataType dataType, string name);
public static MPSGraphTensor Read (this MPSGraph This, MPSGraphTensor variable, string name);
public static MPSGraphTensor Variable (this MPSGraph This, Foundation.NSData data, int[] shape, MetalPerformanceShaders.MPSDataType dataType, string name);
}
public static class MPSGraph_ScatterNDOps {
// methods
public static MPSGraphTensor ScatterND (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, int[] shape, nuint batchDimensions, string name);
public static MPSGraphTensor ScatterND (this MPSGraph This, MPSGraphTensor dataTensor, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, nuint batchDimensions, MPSGraphScatterMode mode, string name);
public static MPSGraphTensor ScatterND (this MPSGraph This, MPSGraphTensor updatesTensor, MPSGraphTensor indicesTensor, int[] shape, nuint batchDimensions, MPSGraphScatterMode mode, string name);
}