70 for (
int i = 0; i < 2; ++i) {
71 auto input_name = nodeproto.input(i);
78 if (input_type2 != input_type) {
80 std::runtime_error(
"TMVA::SOFIE ONNX parser Binary op has input tensors of different types: " +
86 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Binary op has input tensor " + input_name +
87 " but its type is not yet registered");
92 if (nodeproto.attribute_size() > 0) {
93 fmod = nodeproto.attribute(0).i();
95 std::unique_ptr<ROperator> op;
96 std::string output_name = nodeproto.output(0);
118 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Binary Operator does not yet support input type " +
119 std::to_string(
static_cast<int>(input_type)));