szha commented on a change in pull request #12064: Allow stop of arange to be 
inferred from dims.
URL: https://github.com/apache/incubator-mxnet/pull/12064#discussion_r210963456
 
 

 ##########
 File path: contrib/clojure-package/src/org/apache/clojure_mxnet/symbol.clj
 ##########
 @@ -132,10 +132,10 @@
   "Returns evenly spaced values within a given interval.
    Values are generated within the half-open interval [`start`, `stop`). In 
other
    words, the interval includes `start` but excludes `stop`."
-  ([start stop  {:keys [step repeat dtype]
-                 :or {step (float 1) repeat (int 1) dtype base/MX_REAL_TYPE}
+  ([start stop  {:keys [step repeat infer-range dtype]
+                 :or {step (float 1) repeat (int 1) infer-range false dtype 
base/MX_REAL_TYPE}
                  :as opts}]
-   (Symbol/arange (float start) ($/option (float stop)) step repeat nil dtype))
+   (Symbol/arange (float start) ($/option (float stop)) step repeat 
infer-range nil dtype))
 
 Review comment:
   @gigasquid 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to