imToCol(_:descriptor:name:)
Creates an imToCol operation and returns the result tensor.
Declaration
func imToCol(_ source: MPSGraphTensor, descriptor: MPSGraphImToColOpDescriptor, name: String?) -> MPSGraphTensorParameters
- source:
The tensor containing the source data. Must be of rank 4. The layout is defined by
descriptor.dataLayout. - descriptor:
The descriptor object that specifies the parameters of the operation.
- name:
The name for the operation.
Return Value
A valid MPSGraphTensor object