Remove compile wrapper to simplify access to model attributes (#5581)
Having a wrapper of a compiled module brings various restrictions about
accessing attributes of the compiled model.
This PR removes the wrapper of compiled module to simplify the access to
the compiled model.
---------
Co-authored-by: Olatunji Ruwase <olruwase@microsoft.com>