cinn
Build from source code
Install CINN using docker
Tutorials
C++ DSL API tutorial: Matrix Multiplication
Load and Execute Paddle Model in C++
CinnBuilder Primitive Semantics
C++ Symbols
cinn
»
C++ Symbols
»
Template Function cinn::frontend::utils::GetAttrOrDefault
View page source
Template Function cinn::frontend::utils::GetAttrOrDefault
Defined in
File common_utils.h
Function Documentation
template<typename
T
>
T
cinn::frontend::utils
::
GetAttrOrDefault
(
const
paddle::cpp::
OpDesc
&
op_desc
,
const
std::string &
name
,
const
T
&
default_value
=
T
{}
)