3#include "onnx_proto3.pb.h"
6namespace Experimental {
10 std::unique_ptr<ROperator> op;
13 const std::string input_name = nodeproto.input(0);
17 throw std::runtime_error(
18 "TMVA::SOFIE ONNX Parser Expand op has input tensor " + input_name +
19 " but its type is not yet registered");
22 const std::string shape_name = nodeproto.input(1);
26 std::runtime_error(
"TMVA::SOFIE - ONNX Parser Expand Op shape type not supported");
29 throw std::runtime_error(
30 "TMVA::SOFIE ONNX Parser Sign op has input tensor " + input_name +
31 " but its type is not yet registered");
34 const std::string output_name = nodeproto.output(0);
40 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Expand Operator does "
41 "not support imput type " +
42 std::to_string(
static_cast<int>(input_type)));
bool IsRegisteredTensorType(const std::string &)
void RegisterTensorType(const std::string &, ETensorType)
ETensorType GetTensorType(const std::string &name)
ParserFuncSignature ParseExpand
std::function< std::unique_ptr< ROperator >(RModelParser_ONNX &, const onnx::NodeProto &)> ParserFuncSignature
create variable transformations