L2NormPooling4D(_:descriptor:name:)
Creates a 4D L2-norm pooling operation and returns the result tensor.
Declaration
func L2NormPooling4D(_ source: MPSGraphTensor, descriptor: MPSGraphPooling4DOpDescriptor, name: String?) -> MPSGraphTensorParameters
- source:
A source tensor.
- 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