Transposed Convolution operator.
Inference code generation for a transposed convolution layer. See the ONNX documentation for details about the transposed conv layer.
Definition at line 26 of file ROperator_ConvTranspose.hxx.
Public Member Functions | |
| ROperator_ConvTranspose () | |
| Default constructor of ROperator_ConvTranspose. | |
| ROperator_ConvTranspose (std::string autopad, std::vector< size_t > dilations, size_t group, std::vector< size_t > kernelShape, std::vector< size_t > outputPadding, std::vector< size_t > outputShape, std::vector< size_t > pads, std::vector< size_t > strides, std::string nameX, std::string nameW, std::string nameB, std::string nameY) | |
| Constructor of ROperator_ConvTranspose from the attributes. | |
| std::string | Generate (std::string opName) override |
| Generate the inference code. | |
| std::string | GenerateInitCode () override |
| Generate code for initializing the op. | |
| std::string | GenerateSessionMembersCode (std::string) override |
| Generate code for Session data members (e.g. | |
| std::vector< std::string > | GetBlasRoutines () override |
| Returns the blas routines needed to compile the generated code. | |
| void | Initialize (RModel &) override |
| Initialize the model. | |
| std::vector< std::vector< size_t > > | ShapeInference (std::vector< std::vector< size_t > >) override |
| Infers the shape of the input tensors. | |
| std::vector< ETensorType > | TypeInference (std::vector< ETensorType > input) override |
| Infers the type of the output tensor. | |
Public Member Functions inherited from TMVA::Experimental::SOFIE::ROperator | |
| virtual | ~ROperator () |
| virtual std::vector< std::string > | GetStdLibs () |
| virtual std::string | Header () |
Private Attributes | |
| std::string | fAttrAutopad |
| std::vector< size_t > | fAttrDilations |
| size_t | fAttrGroup |
| std::vector< size_t > | fAttrKernelShape |
| std::vector< size_t > | fAttrOutputPadding |
| std::vector< size_t > | fAttrOutputShape |
| std::vector< size_t > | fAttrPads |
| std::vector< size_t > | fAttrStrides |
| size_t | fDim |
| std::string | fNB |
| std::string | fNBroadcastedB |
| std::string | fNW |
| std::string | fNX |
| std::string | fNY |
| std::vector< size_t > | fShapeB |
| std::vector< size_t > | fShapeW |
| std::vector< size_t > | fShapeX |
| std::vector< size_t > | fShapeY |
| std::string | fType |
Additional Inherited Members | |
Protected Attributes inherited from TMVA::Experimental::SOFIE::ROperator | |
| bool | fUseSession = false |
| flag to identify if using the session class | |
| const std::string | SP = " " |
| space used to correctly indent the generated C++ code | |
#include <TMVA/ROperator_ConvTranspose.hxx>
|
inline |
Default constructor of ROperator_ConvTranspose.
Definition at line 54 of file ROperator_ConvTranspose.hxx.
|
inline |
Constructor of ROperator_ConvTranspose from the attributes.
| auto_pad | padding |
| dilations | dilations of the kernel |
| group | number of groups |
| kernel_shape | shape of the kernel |
| output_padding | padding of the output |
| output_shape | shape of the output |
| pads | padding of the input |
| strides | strides |
| nameX | name of the input |
| nameW | name of the weight |
| nameB | name of the bias |
| nameY | name of the output |
Definition at line 71 of file ROperator_ConvTranspose.hxx.
|
overridevirtual |
Generate the inference code.
| opName | name of the operator |
Implements TMVA::Experimental::SOFIE::ROperator.
Definition at line 228 of file ROperator_ConvTranspose.icc.
|
overridevirtual |
Generate code for initializing the op.
Reimplemented from TMVA::Experimental::SOFIE::ROperator.
Definition at line 183 of file ROperator_ConvTranspose.icc.
|
overridevirtual |
Generate code for Session data members (e.g.
internal vectors)
| opName | name of the operator |
Reimplemented from TMVA::Experimental::SOFIE::ROperator.
Definition at line 203 of file ROperator_ConvTranspose.icc.
|
inlineoverridevirtual |
Returns the blas routines needed to compile the generated code.
Reimplemented from TMVA::Experimental::SOFIE::ROperator.
Definition at line 122 of file ROperator_ConvTranspose.hxx.
|
overridevirtual |
Initialize the model.
| model | Model |
Implements TMVA::Experimental::SOFIE::ROperator.
Definition at line 106 of file ROperator_ConvTranspose.icc.
|
overridevirtual |
Infers the shape of the input tensors.
| input | shape of the input tensors |
Implements TMVA::Experimental::SOFIE::ROperator.
Definition at line 18 of file ROperator_ConvTranspose.icc.
|
inlineoverridevirtual |
Infers the type of the output tensor.
| input | type of the input tensors |
Implements TMVA::Experimental::SOFIE::ROperator.
Definition at line 90 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 28 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 29 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 30 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 31 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 32 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 33 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 34 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 35 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 50 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 39 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 40 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 38 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 37 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 41 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 45 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 44 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 43 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 46 of file ROperator_ConvTranspose.hxx.
|
private |
Definition at line 48 of file ROperator_ConvTranspose.hxx.