11 if (nodeproto.input_size() != 3) {
12 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Where op has invalid input size");
16 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Where op has input tensor " + nodeproto.input(1)
17 +
" but its type is not yet registered");
20 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Where op has input tensor " + nodeproto.input(2)
21 +
" but its type is not yet registered");
25 throw std::runtime_error(
"TMVA::SOFIE ONNX parser Where op has input tensors of different types: " +
30 std::unique_ptr<ROperator> op;
31 std::string output_name = nodeproto.output(0);
35 op.reset(
new ROperator_Where<float>(nodeproto.input(0), nodeproto.input(1), nodeproto.input(2), output_name));
41 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Where Operator does not yet support input type " +
42 std::to_string(
static_cast<int>(input_type)));