Platforms to show: All Mac Windows Linux Cross-Platform
Back to MLMultiArrayMBS class.
MLMultiArrayMBS.Constructor(dataPointer as Ptr, shape() as Integer, dataType as Integer, strides() as Integer, byref error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Please make sure that memory is not deallocated too early, e.g. by subclassing and freeing it in destructor.
See also:
MLMultiArrayMBS.Constructor(shape() as Integer, dataType as Integer, byref error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
MLMultiArrayMBS.doubleValue(index as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Pass the index for the value to query.
(Read and Write computed property)
See also:
MLMultiArrayMBS.doubleValue(indexes() as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Pass one index value for each dimension in the array.
(Read and Write computed property)
See also:
MLMultiArrayMBS.integerValue(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Pass the index for the value to query.
(Read and Write computed property)
See also:
MLMultiArrayMBS.integerValue(indexes() as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Pass one index value for each dimension in the array.
(Read and Write computed property)
See also:
MLMultiArrayMBS.shape as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLMultiArrayMBS.singleValue(index as Integer) as Single
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Pass the index for the value to query.
(Read and Write computed property)
See also:
MLMultiArrayMBS.singleValue(indexes() as Integer) as Single
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Pass one index value for each dimension in the array.
(Read and Write computed property)
See also:
MLMultiArrayMBS.strides as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The element referred to by a multidimensional index is located at an offset equal to sum_d index[d]*strides[d]. This offset is in the units of the specified dataType.
The items on this page are in the following plugins: MBS Mac64bit Plugin.