Yes - it checks to see if the data is a map, if so, it is in the form of having 
a DataDesc associated with it and will be dispatched to the correct Java 
function signature and with scala interop. If it is not a map, it will dispatch 
to the original Java function signature without DataDesc. 

The argument checking for the correct data structures can be improved by using 
core.spec in Clojure. It adds gradual type checking. It is in use in the module 
api, but it hasn't been added in yet in this namespace. I added a line item in 
the TODO page for the Clojure package to capture it for later improvement work.

[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12387 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to