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

Function _preprocess_padding

tensorflow/tensorflow/python/keras/backend.py:4650–4668  ·  view source on GitHub ↗

Convert keras' padding to TensorFlow's padding. Arguments: padding: string, one of 'same' , 'valid' Returns: a string, one of 'SAME', 'VALID'. Raises: ValueError: if invalid `padding'`

(padding)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

conv1dFunction · 0.85
conv2dFunction · 0.85
conv2d_transposeFunction · 0.85
separable_conv1dFunction · 0.85
separable_conv2dFunction · 0.85
depthwise_conv2dFunction · 0.85
conv3dFunction · 0.85
conv3d_transposeFunction · 0.85
pool2dFunction · 0.85
pool3dFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected