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(0)
17 +
" but its type is not yet registered");
20 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Where op has input tensor " + nodeproto.input(1)
21 +
" but its type is not yet registered");
24 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Where op has input tensor " + nodeproto.input(2)
25 +
" but its type is not yet registered");
29 throw std::runtime_error(
"TMVA::SOFIE ONNX parser Where op has input tensors of different types: " +
34 std::unique_ptr<ROperator> op;
35 std::string output_name = nodeproto.output(0);
40 op.reset(
new ROperator_Where<float>(nodeproto.input(0), nodeproto.input(1), nodeproto.input(2), output_name));
46 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Where Operator does not yet support input type " +
47 std::to_string(
static_cast<int>(input_type)));