3#include "onnx_proto3.pb.h"
6namespace Experimental {
12 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser ScatterElements op has invalid input size");
16 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser ScatterElements op has input tensor " +
nodeproto.input(0)
17 +
" but its type is not yet registered");
20 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser ScatterElements op has input tensor " +
nodeproto.input(1)
21 +
" but its type is not yet registered");
24 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser ScatterElements op has input tensor " +
nodeproto.input(2)
25 +
" but its type is not yet registered");
29 throw std::runtime_error(
"TMVA::SOFIE ONNX parser ScatterElements op has input tensors of different types: " +
36 for (
int i = 0; i <
nodeproto.attribute_size(); i++) {
44 std::unique_ptr<ROperator>
op;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
bool IsRegisteredTensorType(const std::string &)
void RegisterTensorType(const std::string &, ETensorType)
ETensorType GetTensorType(const std::string &name)
std::function< std::unique_ptr< ROperator >(RModelParser_ONNX &, const onnx::NodeProto &)> ParserFuncSignature
std::string ConvertTypeToString(ETensorType type)
ParserFuncSignature ParseScatterElements
create variable transformations