3#include "onnx_proto3.pb.h"
6namespace Experimental {
16 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Einsum op has input tensor " +
nodeproto.input(i)
17 +
" but its type is not yet registered");
22 throw std::runtime_error(
"TMVA::SOFIE ONNX parser Einsum op has input tensors of different types: " +
31 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Einsum op has no attribute defining the equation");
32 if (
nodeproto.attribute(0).name() !=
"equation")
33 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Einsum op has wrong attribute name: " +
nodeproto.attribute(0).name());
36 std::unique_ptr<ROperator>
op;
46 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Einsum 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)
std::function< std::unique_ptr< ROperator >(RModelParser_ONNX &, const onnx::NodeProto &)> ParserFuncSignature
ParserFuncSignature ParseEinsum
std::string ConvertTypeToString(ETensorType type)
create variable transformations