nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java
public SDVariable avgPooling2d(String name, SDVariable[] inputs, Pooling2DConfig pooling2DConfig) {
        SDVariable ret = f().avgPooling2d(inputs, pooling2DConfig);
        return updateVariableNameAndReference(ret, name);
    }
public SDVariable avgPooling2d(String name, SDVariable[] inputs, Pooling2DConfig pooling2DConfig) {
        SDVariable ret = f().avgPooling2d(inputs, pooling2DConfig);
        return updateVariableNameAndReference(ret, name);
    }
public SDVariable avgPooling2d ( String name , SDVariable [ ] inputs , Pooling2DConfig pooling2DConfig ) { SDVariable ret = f ( ) . avgPooling2d ( inputs , pooling2DConfig ) ; return updateVariableNameAndReference ( ret , name ) ; }
Average pooling 2d operation.

@param name         name of the operation in SameDiff
@param inputs       the inputs to average pooling 2d
@param pooling2DConfig the configuration
@return
Average pooling 2d operation .