init(descriptor:data:)
Creates a tensor with the descriptor and data you specify.
Declaration
convenience init(descriptor tensorDescriptor: MLCTensorDescriptor, data: MLCTensorData)Parameters
- tensorDescriptor:
An object you use to configure the tensor.
- data:
The tensor data.