3#include "onnx_proto3.pb.h"
9template <EBasicUnaryOperator Op>
14 std::string input_name = nodeproto.input(0);
19 std::runtime_error(
"TMVA::SOFIE ONNX Parser Unary op has input tensor " + input_name +
20 " but its type is not yet registered");
23 std::unique_ptr<ROperator> op;
24 std::string output_name = nodeproto.output(0);
31 throw std::runtime_error(
"TMVA::SOFIE - Unsupported - Binary Operator does not yet support input type " +
32 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 ParseSqrt
ParserFuncSignature ParseNeg
ParserFuncSignature ParseCos
ParserFuncSignature ParseLog
std::unique_ptr< ROperator > ParseBasicUnary(RModelParser_ONNX &parser, const onnx::NodeProto &nodeproto)
ParserFuncSignature ParseExp
std::function< std::unique_ptr< ROperator >(RModelParser_ONNX &, const onnx::NodeProto &)> ParserFuncSignature
ParserFuncSignature ParseSoftplus
ParserFuncSignature ParseReciprocal
ParserFuncSignature ParseAtan
ParserFuncSignature ParseFloor
ParserFuncSignature ParseAbs
ParserFuncSignature ParseSin
create variable transformations