access2rohit opened a new pull request #19297:
URL: https://github.com/apache/incubator-mxnet/pull/19297
## Description ##
for both backward and forward. Fix the file according to PEP8 style(2 blank
lines between functions)
## Checklist ##
### Essentials ###
- [x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL],
[FEATURE], [DOC], etc)
- [x] Changes are complete (i.e. I finished coding on this PR)
- [x] All changes have test coverage
- [x] Code is well-documented
### Testing ###
```
(pytest) ubuntu@ip-172-31-90-243 ~/workspace/incubator-mxnet (cumsum_lt) $
python -m pytest -s --exitfirst --verbose
tests/nightly/test_np_large_array.py::test_cumsum
====================================================================================================================================
test session starts
====================================================================================================================================
platform linux -- Python 3.6.10, pytest-5.3.5, py-1.8.2, pluggy-0.13.1 --
/home/ubuntu/anaconda3/envs/pytest/bin/python
cachedir: .pytest_cache
rootdir: /home/ubuntu/workspace/incubator-mxnet, inifile: pytest.ini
plugins: timeout-1.4.2
timeout: 1200.0s
timeout method: signal
timeout func_only: False
collected 1 item
tests/nightly/test_np_large_array.py::test_cumsum [01:27:15]
../src/storage/storage.cc:199: Using Pooled (Naive) StorageManager for CPU
[01:27:17] ../src/base.cc:84: Upgrade advisory: this mxnet has been built
against cuDNN lib version 7501, which is older than the oldest version tested
by CI (7600). Set MXNET_CUDNN_LIB_CHECKING=0 to quiet this warning.
PASSED
=====================================================================================================================================
warnings summary
======================================================================================================================================
tests/nightly/test_np_large_array.py:92
/home/ubuntu/workspace/incubator-mxnet/tests/nightly/test_np_large_array.py:92:
DeprecationWarning: invalid escape sequence \
'''
tests/nightly/test_np_large_array.py:721
/home/ubuntu/workspace/incubator-mxnet/tests/nightly/test_np_large_array.py:721:
DeprecationWarning: invalid escape sequence \
'''
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========================================================================================================================
1 passed, 2 warnings in 202.12s (0:03:22)
=========================================================================================================================
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]