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

alobugdays/23-pad-accepts-multiple-argument #292

Merged
merged 5 commits into from
Nov 18, 2022

Conversation

tflahaul
Copy link
Contributor

@tflahaul tflahaul commented Nov 18, 2022

Minimal example

>>> x = aloscene.Frame(torch.rand(1, 10, 10), names=('C', 'H', 'W'))
>>> x.pad(multiple=8).shape
torch.Size([1, 16, 16])
>>> x.pad(multiple=10).shape
torch.Size([1, 10, 10])
>>> x.pad(multiple=32).shape
torch.Size([1, 32, 32])

This pull request includes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@tflahaul tflahaul self-assigned this Nov 18, 2022
@tflahaul tflahaul added enhancement New feature or request aloscene aloscene alobugdays labels Nov 18, 2022
@tflahaul tflahaul marked this pull request as draft November 18, 2022 12:38
@tflahaul tflahaul marked this pull request as ready for review November 18, 2022 12:53
@anhtu293 anhtu293 self-requested a review November 18, 2022 14:21
@anhtu293 anhtu293 merged commit 4dd90fa into alobugdays Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alobugdays aloscene aloscene enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants