3#include "onnx_proto3.pb.h"
6namespace Experimental {
15 else if (
nodeproto.op_type() ==
"AveragePool")
17 else if (
nodeproto.op_type() ==
"GlobalAveragePool")
26 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Pool op has input tensor " +
input_name +
27 " but its type is not yet registered");
30 std::unique_ptr<ROperator>
op;
56 std::cout <<
"TMVA::SOFIE Warning - Model Loading - Attribute " <<
attribute_name <<
" in OperatorNode "
57 <<
nodeproto.name() <<
" is not defined in ONNX IR and not applied!\n";
65 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Operator Pool 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.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
const_iterator end() const
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 ParsePool
create variable transformations