model_descriptor_to_module function

Create a nn_graph from ModelDescriptor