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.
Creates an unallocated BNNSTensor
init(dataType: BNNSDataType, shape: [Int], stride: [Int])The shape of the tensor.
The stride of the tensor.