Fix issues with onnx export
Fix #24 (moved) by correcting two issues:
- Unable to export a GraphView with no input. I propose to take the root node as starting point if there is no input.
- Wrong function to be call (
outputinstead ofget_outputto retrive a tensor).