nndeploy C++ API  0.2.0
nndeploy C++ API
Public Member Functions | Protected Attributes | List of all members
nndeploy::op::Expr Class Reference

#include <expr.h>

Public Member Functions

 Expr (const std::string &name)
 
 Expr (const std::string &name, base::DataType data_type)
 
 Expr (const std::string &name, base::DataType data_type, base::IntVector shape)
 
 Expr (std::shared_ptr< ir::ModelDesc > model_desc)
 
 Expr (std::shared_ptr< ir::OpDesc > op_desc)
 
 Expr (std::shared_ptr< ir::ValueDesc > value_desc)
 
std::vector< std::string > getOutputName ()
 
 ~Expr ()
 

Protected Attributes

ExprType expr_type_
 
std::shared_ptr< ir::ModelDescmodel_desc_
 
std::shared_ptr< ir::OpDescop_desc_
 
std::shared_ptr< ir::ValueDescvalue_desc_
 

Detailed Description

Definition at line 22 of file expr.h.

Constructor & Destructor Documentation

◆ Expr() [1/6]

nndeploy::op::Expr::Expr ( const std::string &  name)

◆ Expr() [2/6]

nndeploy::op::Expr::Expr ( const std::string &  name,
base::DataType  data_type 
)

◆ Expr() [3/6]

nndeploy::op::Expr::Expr ( const std::string &  name,
base::DataType  data_type,
base::IntVector  shape 
)

◆ Expr() [4/6]

nndeploy::op::Expr::Expr ( std::shared_ptr< ir::ValueDesc value_desc)

◆ Expr() [5/6]

nndeploy::op::Expr::Expr ( std::shared_ptr< ir::OpDesc op_desc)

◆ Expr() [6/6]

nndeploy::op::Expr::Expr ( std::shared_ptr< ir::ModelDesc model_desc)

◆ ~Expr()

nndeploy::op::Expr::~Expr ( )

Member Function Documentation

◆ getOutputName()

std::vector<std::string> nndeploy::op::Expr::getOutputName ( )

Member Data Documentation

◆ expr_type_

ExprType nndeploy::op::Expr::expr_type_
protected

Definition at line 37 of file expr.h.

◆ model_desc_

std::shared_ptr<ir::ModelDesc> nndeploy::op::Expr::model_desc_
protected

Definition at line 40 of file expr.h.

◆ op_desc_

std::shared_ptr<ir::OpDesc> nndeploy::op::Expr::op_desc_
protected

Definition at line 39 of file expr.h.

◆ value_desc_

std::shared_ptr<ir::ValueDesc> nndeploy::op::Expr::value_desc_
protected

Definition at line 38 of file expr.h.


The documentation for this class was generated from the following file: