L2NormPooling4DGradient(_:source:descriptor:name:)
Creates a L2-Norm pooling gradient operation and returns the result tensor.
Declaration
func L2NormPooling4DGradient(_ gradient: MPSGraphTensor, source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensorParameters
- gradient:
An input gradient tensor.
- source:
The input tensor for the forward pass.
- descriptor:
A pooling operation descriptor that specifies pooling window sizes, strides, dilation rates and paddings.
- name:
The name for the operation.
Return Value
A valid MPSGraphTensor object.