12 auto input_name = nodeproto.input(0);
16 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser GatherND op has input tensor" + input_name +
17 " but its type is not yet registered");
21 auto indices_name = nodeproto.input(1);
27 std::runtime_error(
"TMVA::SOFIE ONNX Parser GatherND op Indices tensor type not supported.");
31 std::unique_ptr<ROperator> op;
32 std::string output_name = nodeproto.output(0);
33 int64_t batch_dims = 0;
34 if (nodeproto.attribute_size() == 1) {
35 batch_dims = nodeproto.attribute(0).i();
38 op.reset(
new ROperator_GatherND(batch_dims, input_name, indices_name, nodeproto.output(0)));