eric-haibin-lin commented on a change in pull request #10292: [MXNET-243] Allow custom merger in KVStore URL: https://github.com/apache/incubator-mxnet/pull/10292#discussion_r180639323
########## File path: python/mxnet/kvstore.py ########## @@ -83,6 +83,22 @@ def updater_handle(key, lhs_handle, rhs_handle, _): updater(key, lhs, rhs) return updater_handle +class MergeMeta(ctypes.Structure): + _fields_ = [('num_merged', ctypes.c_size_t), + ('sender_id', ctypes.c_int), + ('timestamp', ctypes.c_int)] +MergeMetaHandle = ctypes.c_void_p Review comment: Can we put this in base.py? https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/base.py#L120 ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services