Contents

blockFactors

An extents instance that represents the number of data plane elements which correspond to one element in a plane you create with this descriptor.

Declaration

@NSCopying var blockFactors: MTLTensorExtents { get set }

Discussion

The number of dimensions in the extents needs to match the number of the tensor’s dimensions.

The first element of the block factors needs to be 32. All remaining elements need to be 1.

The default value is a 1D block size of width 32.