3#include "onnx_proto3.pb.h"
6namespace Experimental {
12 auto start = nodeproto.input(0);
16 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Tanh op has input tensor" + start +
17 " but its type is not yet registered");
20 auto limit = nodeproto.input(1);
22 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Tanh op has input tensor" + limit +
23 " but its type is not yet registered");
26 auto delta = nodeproto.input(2);
28 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Tanh op has input tensor" + delta +
29 " but its type is not yet registered");
32 std::unique_ptr<ROperator> op;
33 std::string output_name = nodeproto.output(0);
39 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Operator Range does not yet support input type " +
40 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 ParseRange
std::function< std::unique_ptr< ROperator >(RModelParser_ONNX &, const onnx::NodeProto &)> ParserFuncSignature
create variable transformations