Identification of Flux Rope Orientation via Neural Networks