12 auto input_name = nodeproto.input(0);
16 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Softmax op has input tensor " + input_name +
17 " but its type is not yet registered");
20 std::unique_ptr<ROperator> op;
21 std::string output_name = nodeproto.output(0);
23 bool logSoftmax = (nodeproto.op_type() ==
"LogSoftmax");
25 int64_t attr_axis = -1;
26 if (nodeproto.attribute_size() == 1 && nodeproto.attribute(0).name() ==
"axis")
27 attr_axis = nodeproto.attribute(0).i();