convolutionTranspose2D(_:weights:outputShapeTensor:descriptor:name:)
Creates a convolution transpose operation and returns the result tensor.
Declaration
func convolutionTranspose2D(_ source: MPSGraphTensor, weights: MPSGraphTensor, outputShapeTensor outputShape: MPSGraphTensor, descriptor: MPSGraphConvolution2DOpDescriptor, name: String?) -> MPSGraphTensorParameters
- source:
Input tensor
- weights:
Weights tensor
- outputShape:
1D Int32 or Int64 tensor. shape of the result tensor.
- descriptor:
Descriptor for the corresponding forward Conv2D operation
- name:
Name for the operation
Return Value
A valid MPSGraphTensor object.