12 auto input_name = nodeproto.input(0);
16 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser tranpose op has input tensor" + input_name +
17 " but its type is not yet registered");
21 std::string output_name = nodeproto.output(0);
22 std::vector<int_t> attr_perm;
24 if (nodeproto.attribute_size() == 1) {
25 attr_perm.assign(nodeproto.attribute(0).ints().begin(), nodeproto.attribute(0).ints().end());
28 auto op = std::make_unique<ROperator_Transpose>(attr_perm, nodeproto.input(0), nodeproto.output(0));