init(shape:dataType:)
Initializes a shaped type.
Declaration
init(shape: [NSNumber]?, dataType: MPSDataType)Parameters
- shape:
The shape of the shaped type.
- dataType:
The dataType of the shaped type.
Return Value
A valid MPSGraphShapedType, or nil if allocation failure.