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

[FEA] : Add a pad operator modeling padarray in MATLAB #451

Open
luitjens opened this issue Jul 18, 2023 · 0 comments
Open

[FEA] : Add a pad operator modeling padarray in MATLAB #451

luitjens opened this issue Jul 18, 2023 · 0 comments
Assignees

Comments

@luitjens
Copy link
Collaborator

https://www.mathworks.com/help/images/ref/padarray.html

We should add a pad operator which functionally changes the size of a tensor and set's how out of bounds accesses get values. We should fully support padding pre, post, and both along with a pad value that can be a scalar value, circular, replicate, and symmetric.

auto op = pad(input, pad_shape, pad_type, direction);

Where
direction = [ matx::PRE, matx::POST, matx::BOTH]
pad_type: is either a scalar or an enum/functor to indicate circular, replicate, or symmetric.

@cliffburdick cliffburdick changed the title Add a pad operator modeling padarray in Matlab [FEA] [FEA] : Add a pad operator modeling padarray in MATLAB May 1, 2024
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

No branches or pull requests

2 participants