External modules in uTVM

Sounds good!. I ll take a look at your fork for now and see what we can do.

Regarding PackConstantsToLLVM, I think this is the intention behind the design of the metadata module (cc : @comaniac @zhiics). I believe a solution lies where we could generally support it rather than using it to cater to external modules only. However, we would need to re-think about LoadFromBinary interface because as of today it will re-construct the weights in the volatile memory reading the constant data. If we can make it pass pointers to data located in the flash and re-interpret them, then it would be able to solve this. Not too sure about a solution at the minute, thus welcome any ideas :slight_smile: