MCPcopy Create free account
hub / github.com/alibaba/nann / pool2d

Function pool2d

tensorflow/tensorflow/python/keras/backend.py:5112–5167  ·  view source on GitHub ↗

2D Pooling. Arguments: x: Tensor or variable. pool_size: tuple of 2 integers. strides: tuple of 2 integers. padding: string, `"same"` or `"valid"`. data_format: string, `"channels_last"` or `"channels_first"`. pool_mode: string, `"max"` or `"avg"`. Returns:

(x,
           pool_size,
           strides=(1, 1),
           padding='valid',
           data_format=None,
           pool_mode='max')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

image_data_formatFunction · 0.85
_preprocess_conv2d_inputFunction · 0.85
_preprocess_paddingFunction · 0.85
transposeMethod · 0.80

Tested by

no test coverage detected