1#ifndef TMVA_SOFIE_ROPERATOR_IDENTITY
2#define TMVA_SOFIE_ROPERATOR_IDENTITY
11namespace Experimental{
27 fNX(UTILITY::Clean_name(nameX)),
fNY(UTILITY::Clean_name(nameY)){}
41 throw std::runtime_error(
"TMVA SOFIE Identity Op Input Tensor is not found in model");
49 OpName =
"op_" + OpName;
51 throw std::runtime_error(
"TMVA SOFIE Operator Identity called to Generate without being initialized first");
53 std::stringstream out;
54 out <<
"\n//------ IDENTITY\n";
56 out <<
SP <<
SP <<
"tensor_" <<
fNY <<
" = tensor_" <<
fNX <<
";\n";
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
const ETensorType & GetTensorType(std::string name)
void AddIntermediateTensor(std::string tensor_name, ETensorType type, std::vector< Dim > dim_shape)
bool CheckIfTensorAlreadyExist(std::string tensor_name)
const std::vector< size_t > & GetTensorShape(std::string name)
void Initialize(RModel &model)
std::vector< ETensorType > TypeInference(std::vector< ETensorType > input)
std::vector< std::vector< size_t > > ShapeInference(std::vector< std::vector< size_t > > input)
ROperator_Identity(std::string nameX, std::string nameY)
std::vector< size_t > fShape
std::string Generate(std::string OpName)
const std::string SP
space used to correctly indent the generated C++ code
create variable transformations