Contents

init(dataType:shape:stride:)

Creates an unallocated BNNSTensor

Declaration

init(dataType: BNNSDataType, shape: [Int], stride: [Int])

Parameters

  • shape:

    The shape of the tensor.

  • stride:

    The stride of the tensor.