init(descriptor:)
Creates a tensor without data, using the descriptor you specify.
Declaration
convenience init(descriptor tensorDescriptor: MLCTensorDescriptor)Parameters
- tensorDescriptor:
An object you use to configure the tensor.
Discussion
The tensor data type is MLCDataType.float32.