@tqchen Thanks for sharing this. I don’t know if I understand correctly. For 
now arguments except primitives pass through FFI via Object (like ADTObj). It 
is then converted to TShape in backend and TShape is not involved in FFI 
directly.

As you said, Object allows me to conveniently put various kinds of things into 
a container (ADTObj), without losing their types. For example, now a tuple of 
tuples like ((2, 2), (2, 2)) is allowed.

Also sorry for the late reply. I have been on a vacation this week :)

-- 
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-mxnet/issues/17097#issuecomment-581108588

Reply via email to