MLFeatureType 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
枚举 CoreML 支持的功能类型。
[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 enum MLFeatureType
type MLFeatureType =
- 继承
-
MLFeatureType
- 属性
字段
Dictionary | 6 | 字典/地图功能。 字典的类型为 T:System.Object ->NSNumber。 |
Double | 2 | 双精度浮点值功能。 |
Image | 4 | 图像功能。 |
Int64 | 1 | 64 位整数特征。 |
Invalid | 0 | 特征的值无效。 |
MultiArray | 5 | 多维数组功能。 |
Sequence | 7 | 对数据进行排序,例如时序或按文本排序的单词。 |
String | 3 | 字符串功能。 |