See https://github.com/dmlc/tvm/pull/1418 The change is pretty simple - TVMArrayAlloc now contains a field with type kNDArrayContainer - Support return value kNDArrayContainer and create an NDArray. This enables us to get returned NDArray from PackedFunc