3#include "onnx_proto3.pb.h"
6namespace Experimental {
10 const onnx::NodeProto &
nodeproto) -> std::unique_ptr<ROperator> {
16 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser InstanceNormalization op has input tensor " +
input_name +
17 " but its type is not yet registered");
21 for (int64_t i = 0; i <
nodeproto.attribute_size(); i++) {
22 if (
nodeproto.attribute(i).name() ==
"epsilon") {
32 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 ParseInstanceNormalization
create variable transformations