3#include "onnx_proto3.pb.h"
6namespace Experimental {
10 const onnx::NodeProto &
addnode) {
18 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser MatMul op has input tensor " +
input_name +
19 " but its type is not yet registered");
23 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser : cannot fuse MatMul if Add does not have 2 inputs");
31 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser : cannot fuse MatMul and Add since have different inputs");
34 std::unique_ptr<ROperator>
op;
47 throw std::runtime_error(
48 "TMVA::SOFIE - Unsupported - Operator for fusing MatMul and Add to Gemm 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 &, const onnx::NodeProto &)> ParserFuseFuncSignature
ParserFuseFuncSignature ParseFuseMatMulAdd
create variable transformations