* Adds layout support: mx.sym.Pooling(..., layout='NHWC',...) with tests.
* Docs changes
* Trigger
* Skip NHWC pooling tests on non-cuDNN platforms
* Fix pylint NHWC pooling
* Fixes from review
* Add CuDNNPoolingOp::Supports() in place of Forward()/Backward() bool return.
* Add layout support to cpu implementation of Pooling, with tests.
* Fix cpplint.
* Fix bug in cpu nhwc impl.
* Add MXNet CUDA pooling in NWC, NHWC and NDHWC. Turn on 3D cuDNN pooling. Tests.
* Add PoolingParam::GetLayout() for better default layout handling.
* Fix cpplint.
* Throw exception for quantization pooling not NCHW.
* Expand nhwc pooling test coverage.
* SupportMKLDNNPooling() to examine layout param.
* Compare 'std' and 'v1' pooling versions only when op definitions permit.
* Add pooling test diagnostic output.
* Fix syntax.
* Fix pooling FInplaceOption so it can be shared by all implementations.
* Add missing param definition.
* Fix #if logic.
* Temp switch to DickJC123/mshadow: shows effect of half round-to-nearest on cpu.
* Move back to dmlc/mshadow.git, now with float->half rounding.
* Avoid underflow of lp pooling calc for dtype=float16.
* Remove redundant pooling test.
* Minor variable naming fixes.
* Modify FInplaceOption handling per reviewer comments. Expand testing.
* Correct gluon Pooling layout param description.
* Correct Symbol Pooling description.
* Use 'CHECK(x)' rather than 'if (x) LOG(FATAL)'.
* Empty commit to trigger CI.
* Add pixelshuffle layers, closes#13548
* Remove fmt comments
* Use explicit class in super()
* Add axis swapping to pixel shuffling, add tests
* Add documentation to pixel shuffle layers
* Use pixelshuffle layer and fix download in superres example
* Add pixelshuffle layers to API doc page
* Prototype for runtime feature detection
* Includes from diamond to quotes
* Add CPU feature and BLAS flavour flags
* Add BLAS flavour and CPU SSE and AVX flags
* MXNET_USE_LAPACK
* Fix C++ linting errors
* Expose runtime feature detection in the public C API and in the Python API
* Refactor Storage -> FeatureSet
* Refine documentation
* Add failure case
* Fix pylint
* Address CR comments
* Address CR comments
* Address CR
* Address CR
* Address CR
* Address CR
* remove old files
* Fix unit test
* Port CMake blas change from #13957
* Fix lint
* mxruntime -> libinfo
* Fix comments
* restore libinfo.py
* Rework API for feature detection / libinfo
* Refine documentation
* Fix lint
* Fix lint
* Define make_unique only for C++ std < 14
* Add memory include
* remove old tests
* make_unique fiasco
* Fix lint
* Enable s8s8 support for MKLDNN convolution.
* Fix cpp build
* Fix build.
* Fix build
* Remove openmp min/max reduction for windows build
* Add mkldnn_OIhw4i16o4i_s8s8 support
* Add all s8s8 weight format
* Change ssd quantize script.
* Update
* Manually cast mshadow shape size to size_t
* Fix merge.
* Fix perl package.
* Retrigger CI
* Fix GPU test
* Fix GPU test
* Rerun CI
* Rerun CI
* Rerun CI
* Rerun CI
* Remove weight_channelwise_scale from params.
* Fix
* Keep API compatible.
* Rerun CI
* Rerun CI
* Rerun CI
* Rerun CI
* Address comments.
* fix.
* Address debug build.
* Add comment for next_impl
* Rerun ci
* Add new api MXExecutorSetMonitorCallbackEX
* Add default value for monitor_all for cpp header.
* Rerun CI
* fix
* script change for uint8.
* trigger ci
* trigger ci
* cudnn dropout
* test dropout as stateful op
* add cudnn_off
* refactor
* fix bug when using inf forward
* turn on cudnn in gluon
* reuse dropout state space
* dropout passthrough
* address comments
* Add CPU implementation of ToTensor
* Add tests for cpu
* Add gpu implementation and tests
* Fix lint issues
* Cleanup includes
* Move back changes to original image operators files
* Add 4D example
* resolve merge conflicts
* Fix failing tests
* parallelize on channel in kernel launch
* add image resize operator and unit test
* refactor the resize operator and address lint issues
* address comment and add doc
* assert size is more than 2
* add test case of 4D input
* use ndarray datatype
* add inline to Shape
* add 4D input example
* refactor the duplicate code and separate the resize from image_random
* clean up the code
* add resize implementation
* delete the variable not used
* refactor the code with structure and enum to make code more understandable
* fix the lint
* address comments
* address comment 1. add description 2. refactor unit test and add dtype
* update data type check
* lint
* move the common utitlity to image_utils
* add default value for keep_ratio
* change the operator doc
* update the image utility function
* fix lint
* use Hang implementation to achieve image resize operator GPU
* update the check and doc
* refactor the caffe_gpu_interp2_kernel
* update doc and fix the cpu compile error
* update the comment
* fix lint
* add unit test for gpu
* address comments
* remove the crop and centercop utility function to make the PR clear
* fix the syntax error
* delete the warning
* add unit test with 4D
* fix typo
* add more unit test
* fix unit test
* set atol = 1
* fix missing numpy import
* fix the unit test
* delete test case
* fix unit test missing dependency
* fix error data type
* unify the style and add invalid interp
* update the doc
* mx.random.multinomial python documentation updated, return type details added
* multinomial documentation clarified
* added basic case for negative_binomial
* added basic case for generalized_negative_binomial
* basic case added for gamma
* added basic case for exponential
* basic case added for randn
* remaining base cases added.
* randint case added
* cleaned up return types for random.py
* zboldyga added to contributors
* spacing typo correction
* updated symbol.random return types, minor correction to ndarray.random return types
* removed trailing whitespace in docs
* CPU version of normalize operator is working and unit test added
* Add GPU implementation and tests
* Working GPU normalize transforms
* Add default values, fix imports, fix documentation
* Add backward implmentation for image normalize
* Add tests for backward pass
* Move back operators to its original files
* Add review comments
* Add 4D example
* Make infer type generic
* Fix inline function build error
* make functions as inline to avoid multiple definition conflict across cc and cu
* Fix build errors
* Fix failing GPU tests
* Adding integer index support to Sequence* family of operators.
Adding ability to use int32 arrays, or any castable-to-int type, as
the sequence_length array to SequenceMask, SequenceLast, and
SequenceReverse. Previously these operaters all requred sequence_length
to be the same data type as the input array.
See MxNet Jira ticket here:
https://issues.apache.org/jira/browse/MXNET-1295
See also GitHub issues here:
https://github.com/apache/incubator-mxnet/issues/12649https://github.com/dmlc/gluon-nlp/issues/346
* Adding explicit braces to an if statement to fix g++ warning
* fixing sequence_mask.cu by adding IType to template
* Fixing whitespace errors reported by linter
* Adding unit tests
* Fixing length of lines to pass linter
* Aggregate SGD
* Make OpWrapperGenerator understand Tuple<float>
* Trigger
* Add NNVM Tuple to cpp-package op.h
* Trigger
* Fix pylint aggregate SGD
* Update info about new ENV vars and modifying 2 tests that require
update_on_kvstore to be true
* Fix
* Aggregate SGD support for Gluon trainer
* Added text to doc about aggregate update in SGD optimizer
* Docs changes from review
* Prototype for runtime feature detection
* Includes from diamond to quotes
* Add CPU feature and BLAS flavour flags
* Add BLAS flavour and CPU SSE and AVX flags
* MXNET_USE_LAPACK
* Fix C++ linting errors
* Expose runtime feature detection in the public C API and in the Python API
* Refactor Storage -> FeatureSet
* Refine documentation
* Add failure case
* Fix pylint
* Address CR comments
* fix bug in nag optimizer
```
grad += wd * weight
mom[:] += grad
grad[:] += self.momentum * mom
weight[:] += -lr * grad
```
This will minus wd*weight twice, but in`state = momentum * state + grad + wd * weight weight = weight - (lr * (grad + momentum * state)) ` only minus once.
* fix bug in nag test
fix bug in nag test
* rewrite nag test
* rewrite nag
* fix nag with in-place operations
* fix nag with in-place operations
* add clarification for param_dict
* more tests for dist kvstore
* more unittests
* fix a bug
* more dist exception test
* revert optimizer list
* fix bug and comment
* fix doc rendering and lint
* add invalid sched test
* fix website
* trigger
* update doc
* turn on warnings as errors
* move warnings as error logic to build_all_version
* fix typo in comment
* add warning as error option for docs pipeline
* bump ci to test again; use this chance to add notes on this feature
* fix bugs in image.py docs
* Change argsort to argpartition
* Global statistics in metrics
* Fix lint
* Fixes from review
* Trigger
* Fixes from review, fix to F1, MCC and perplexity metrics,
added test for global stats
* Fix lint
* Fix compatibility with Python 2
* Fix the bug of BidirectionalCell
I did hybridize( ) and pass "valid_length" to the unroll( ) function of BidirectionalCell, then returned AssertionError in line 79. Because symbol.split( ) return a symbol but not a symbol list. Result in the length of inputs dont equal parameter "length" when call unroll( ) to compute r_outputs and r_states.
* add a test for BidirectionalCell
* Fix the bug of BidirectionalCell
I did hybridize( ) and pass "valid_length" to the unroll( ) function of BidirectionalCell, then returned AssertionError in line 79. Because symbol.split( ) return a symbol but not a symbol list. Result in the length of inputs dont equal parameter "length" when call unroll( ) to compute r_outputs and r_states.
* fix test_bidirectional_unroll_valid_length( )
Fix the error of parameter.
* Fix the bug of BidirectionalCell
I did hybridize( ) and pass "valid_length" to the unroll( ) function of BidirectionalCell, then returned AssertionError in line 79. Because symbol.split( ) return a symbol but not a symbol list. Result in the length of inputs dont equal parameter "length" when call unroll( ) to compute r_outputs and r_states.
* fix test_bidirectional_unroll_valid_length( )