double checked this. When making them private the conversions don't work properly when used in other classes. For example, the dataDesc constructor takes in a javaapi.shape and converts it to a mxnet.shape.
One possible alternative would be to make the conversion implicit private and also provide a conversion method which could be explicitly called from outside the class. I haven't tried this so I'm not 100% sure it'd work. It'd be a little bit of a hassle to use elsewhere in the code but not much. [ Full content available at: https://github.com/apache/incubator-mxnet/pull/12757 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org