Contents

init(shape:dataType:)

Creates a tensor descriptor with the shape and data type you specify.

Declaration

convenience init?(shape: [Int], dataType: MLCDataType)

Parameters

  • shape:

    The tensor shape.

  • dataType:

    The tensor data type.

See Also

Creating Tensor Descriptors