This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ColorNormalizeAug now accepts mxnet NDArrays as well as stated (wrong…
…ly) in the documentation. (#11606) * ColorNormalizeAug now accepts mxnet NDArrays as well. According to the doc of mx.image.ColorNormalizeAug mean and std must be mxnet NDArrays though in reality it accepts only numpy arrays. This commit allows ColorNormalizeAug to accept both numpy and mxnet ndarrays. Extended the image unit tests to cover this functionality. * Fixed missing brackets * Simplified assert call according to pylint * Fixed linting issue * Fixed namespace issue * Fixed std and mean assignment * Fixed isinstance python3 mode * Added with_seed annotation
- Loading branch information