public SDVariable avgPooling2d ( SDVariable input , Pooling2DConfig pooling2DConfig ) { AvgPooling2D avgPooling2D = AvgPooling2D . builder ( ) . input ( input ) . sameDiff ( sameDiff ( ) ) . config ( pooling2DConfig ) . build ( ) ; return avgPooling2D . outputVariable ( ) ; }
Average pooling 2d operation .