Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SAME padding legalization when stride > 1. #63166

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

copybara-service[bot]
Copy link

Support SAME padding legalization when stride > 1.

Calculates SAME padding based on reference in https://www.tensorflow.org/api_docs/python/tf/nn/convolution like the following:
output_spatial_shape[i] = ceil(input_spatial_shape[i] / strides[i])

Calculates `SAME` padding based on reference in https://www.tensorflow.org/api_docs/python/tf/nn/convolution like the following:
`output_spatial_shape[i] = ceil(input_spatial_shape[i] / strides[i])`

PiperOrigin-RevId: 613493557
@copybara-service copybara-service bot merged commit 70097ad into master Mar 7, 2024
@copybara-service copybara-service bot deleted the test_613433193 branch March 7, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant