Flavor Tagging GNN: bug fix + cleanup
This MR includes -
- Bugfix - When
ORT Tensor
objects are created, the tensor only has a memory reference to the data (not a deepcopy), so the previous approach of flattening the vectors in a loop and creatingORT tensors
from it was faulty (inOnnxUtil.cxx
). Now the inputs to the GNN are created as 1D vectors directly (inGNNTool.cxx
) - Typo fix following the MR !48584 (merged)
- Clean up to improve readability
Tagging @dguest
Edited by Dan Guest