This crate provides padding for
ndarray
's ArrayBase
type. It
aims to achieve feature parity with Python's
numpy.pad
.
Current padding modes include:
- Constant
- Edge, also known as extend or clamp
[dependencies]
ndarray = "0.13"
ndarray-pad = "0.1"
Please feel free to create issues and submit pull requests.
Licensed under the Apache License, Version 2.0, or the MIT license, at your option. You may not use this project except in compliance with those terms.