colToIm(_:outputShape:descriptor:name:)
Creates a column to image operation and returns the result tensor.
Declaration
func colToIm(_ source: MPSGraphTensor, outputShape: [NSNumber], descriptor: MPSGraphImToColOpDescriptor, name: String?) -> MPSGraphTensorParameters
- source:
The tensor containing the source data. Must be of rank 4. The layout is defined by
descriptor.dataLayout. - outputShape:
The result tensor shape.
- descriptor:
The descriptor object that specifies the parameters of the operation.
- name:
The name for the operation.
Return Value
A valid MPSGraphTensor object