3#include "onnx_proto3.pb.h"
7namespace Experimental {
10template<EBasicNaryOperator Op>
13 std::vector<std::string>
inputs;
16 for (
int i = 0; i <
nodeproto.input_size(); ++i) {
24 throw std::runtime_error(
"TMVA::SOFIE ONNX Parser Max op has input tensor" +
input_name +
25 " but its type is not yet registered");
30 std::unique_ptr<ROperator>
op;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
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
ParserFuncSignature ParseMax
std::unique_ptr< ROperator > ParseBasicNary(RModelParser_ONNX &parser, const onnx::NodeProto &nodeproto)
std::string ConvertTypeToString(ETensorType type)
ParserFuncSignature ParseMean
ParserFuncSignature ParseSum
ParserFuncSignature ParseMin
create variable transformations