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
Create by wrapping existing data.

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
Create by C-style contiguous array by allocating and managing the necessary memory.

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
Query or set value for single dimensional array.

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
Query or set value for multi dimensional array.

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
Query or set value for single dimensional array.

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
Query or set value for multi dimensional array.

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
An array containing the sizes of each dimension in the multiarray.

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
Query or set value for single dimensional array.

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
Query or set value for multi dimensional array.

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
An array containing the stride in memory for each dimension.

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.


The biggest plugin in space...