• Average pooling operation for spatial data.

    Input shape:

    • If dataFormat === CHANNEL_LAST: 4D tensor with shape: [batchSize, rows, cols, channels]
    • If dataFormat === CHANNEL_FIRST: 4D tensor with shape: [batchSize, channels, rows, cols]

    Output shape

    • If dataFormat === CHANNEL_LAST: 4D tensor with shape: [batchSize, pooledRows, pooledCols, channels]
    • If dataFormat === CHANNEL_FIRST: 4D tensor with shape: [batchSize, channels, pooledRows, pooledCols]

    tf.avgPool2d is an alias.

    Parameters

    • args: Pooling2DLayerArgs

    Returns AveragePooling2D

    Doc

Generated using TypeDoc