Template Function cinn::frontend::utils::GetAttrOrDefault

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{})