3#include "onnx_proto3.pb.h"
6namespace Experimental {
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;
41 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Where Operator does not yet support input type " +
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)
ParserFuncSignature ParseWhere
std::function< std::unique_ptr< ROperator >(RModelParser_ONNX &, const onnx::NodeProto &)> ParserFuncSignature
std::string ConvertTypeToString(ETensorType type)
create variable transformations