MLModelMetadata Class

Definition

A DictionaryContainer that holds metadata related to a MLModel.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public class MLModelMetadata : Foundation.DictionaryContainer
type MLModelMetadata = class
    inherit DictionaryContainer
Inheritance
MLModelMetadata
Attributes

Constructors

MLModelMetadata()
MLModelMetadata(NSDictionary)

Properties

Author

The author of the MLModel.

CreatorDefined

Additional metadata defined by the model's creator.

Description

A developer-meaningful description of the MLModel.

Dictionary

Gets the wrapped NSDictionary.

(Inherited from DictionaryContainer)
License

A name or short description of the license and link to a complete definition.

VersionString

A developer-meaningful identifier of the version of the MLModel.

Methods

GetArray<T>(NSString)

Retrieves the array of type T associated with key.

(Inherited from DictionaryContainer)
GetArray<T>(NSString, Func<IntPtr,T>) (Inherited from DictionaryContainer)
GetBoolValue(NSString)

Returns the nullable Boolean associated with key.

(Inherited from DictionaryContainer)
GetCGPointValue(NSString)

Returns the nullable CGPoint associated with key.

(Inherited from DictionaryContainer)
GetCGRectValue(NSString)

Returns the nullable NSString associated with key.

(Inherited from DictionaryContainer)
GetCGSizeValue(NSString)

Returns the nullable CGSize associated with key.

(Inherited from DictionaryContainer)
GetCMTimeValue(NSString)

Returns the nullable CMTime associated with key.

(Inherited from DictionaryContainer)
GetDoubleValue(NSString)

Returns the nullable double associated with key.

(Inherited from DictionaryContainer)
GetFloatValue(NSString)

Returns the nullable float associated with key.

(Inherited from DictionaryContainer)
GetInt32Value(NSString)

Returns the nullable int associated with key.

(Inherited from DictionaryContainer)
GetLongValue(NSString)

Returns the nullable long associated with key.

(Inherited from DictionaryContainer)
GetNativeValue<T>(NSString)

Returns the native object associated with key.

(Inherited from DictionaryContainer)
GetNIntValue(NSString)

Returns the nullable native integer associated with key.

(Inherited from DictionaryContainer)
GetNSDictionary(NSString)

Returns the NSDictionary associated with key.

(Inherited from DictionaryContainer)
GetNSDictionary<TKey,TValue>(NSString)

Returns the NSDictionary associated with key.

(Inherited from DictionaryContainer)
GetNSStringValue(NSString)

Returns the NSString associated with key.

(Inherited from DictionaryContainer)
GetNUIntValue(NSString)

Returns the nullable native unsigned int associated with key.

(Inherited from DictionaryContainer)
GetStringValue(NSString)

Returns the string associated with key.

(Inherited from DictionaryContainer)
GetStringValue(String)

Returns the string associated with key.

(Inherited from DictionaryContainer)
GetStrongDictionary<T>(NSString)

Returns the DictionaryContainer associated with key.

(Inherited from DictionaryContainer)
GetUInt32Value(NSString)

Returns the nullable T:System.UInt32 associated with key.

(Inherited from DictionaryContainer)
GetUIntValue(NSString)

Returns the nullable T:System.UInt32 associated with key.

(Inherited from DictionaryContainer)
RemoveValue(NSString)

Removes from the dictionary the value associated with key.

(Inherited from DictionaryContainer)
SetArrayValue(NSString, INativeObject[])

Associates the INativeObject array values with key.

(Inherited from DictionaryContainer)
SetArrayValue(NSString, NSNumber[])

Associates the NSNumber array values with key.

(Inherited from DictionaryContainer)
SetArrayValue(NSString, String[])

Associates the T:System.String array values with key.

(Inherited from DictionaryContainer)
SetArrayValue<T>(NSString, T[])

Associates the array values of type T with key.

(Inherited from DictionaryContainer)
SetBooleanValue(NSString, Nullable<Boolean>)

Stores the Boolean value and associates it with the key.

(Inherited from DictionaryContainer)
SetCGPointValue(NSString, Nullable<CGPoint>)

Stores the CGPointvalue and associates it with the key.

(Inherited from DictionaryContainer)
SetCGRectValue(NSString, Nullable<CGRect>)

Stores the CGRectvalue and associates it with the key.

(Inherited from DictionaryContainer)
SetCGSizeValue(NSString, Nullable<CGSize>)

Stores the CGSizevalue and associates it with the key.

(Inherited from DictionaryContainer)
SetCMTimeValue(NSString, Nullable<CMTime>)

Stores the CMTimevalue and associates it with the key.

(Inherited from DictionaryContainer)
SetNativeValue(NSString, INativeObject, Boolean) (Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Double>)

Stores the double value (or null) and associates it with the key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Int32>)

Stores the int value (or null) and associates it with the key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Int64>)

Stores the long value (or null) and associates it with the key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<nint>)

Stores the native integer value (or null) and associates it with the key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<nuint>)

Stores the native unsigned int value (or null) and associates it with the key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<Single>)

Stores the float value (or null) and associates it with the key.

(Inherited from DictionaryContainer)
SetNumberValue(NSString, Nullable<UInt32>)

Stores the unsigned int value (or null) and associates it with the key.

(Inherited from DictionaryContainer)
SetStringValue(NSString, NSString)

Stores the string value and associates it with the key.

(Inherited from DictionaryContainer)
SetStringValue(NSString, String)

Stores the string value and associates it with the key.

(Inherited from DictionaryContainer)

Applies to