Skip to content

Conversation

@tbensonatl
Copy link
Collaborator

The pad operator supports pre- and post-padding with constant pad values and edge padding.

Closes Issue #451

The pad operator supports pre- and post-padding with constant
pad values and edge paddding.

Signed-off-by: Thomas Benson <[email protected]>
@tbensonatl tbensonatl self-assigned this Aug 18, 2025
@copy-pr-bot
Copy link

copy-pr-bot bot commented Aug 18, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@tbensonatl
Copy link
Collaborator Author

/build


// Constructor for tuple/array-based padding
template<typename PadSizeType>
__MATX_INLINE__ PadOp(const T& op, int axis, const PadSizeType& pad_sizes, const value_type& pad_value, PadMode mode = MATX_PAD_MODE_CONSTANT)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should PadSizeType just be index_t?

@cliffburdick cliffburdick merged commit 0f72160 into main Aug 19, 2025
1 check failed
@cliffburdick cliffburdick deleted the add-pad-operator branch August 19, 2025 02:39
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.

3 participants