SIGN IN SIGN UP
apache / mxnet UNCLAIMED

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more

0 0 0 C++

set_lower_bound(1) so that stride is not zero (#18997)

* set_lower_bound(1) so that stride is not zero

in issue: https://github.com/apache/incubator-mxnet/issues/18942, an error was occurring where strides became zero. to solve the issue, the lower bounds of stride1 and stride2 have been set to 1.

* small typo

'use_unifrom' changed to 'use_uniform'

* add tests to check lower bound

checking that stride1 and stride2 are be greater than zero

* Update test_operator.py

Co-authored-by: Sheng Zha <szha@users.noreply.github.com>
A
Aditya Mandke committed
de34763b9417ca50145ef15372f04fa1c004aebd
Parent: ddb798a
Committed by GitHub <noreply@github.com> on 8/31/2020, 8:58:16 PM