#include namespace paddle { namespace framework { template <> void AttrTypeHelper::SetAttrType(AttrProto* attr) { attr->set_type(paddle::framework::AttrType::INT); } template <> void AttrTypeHelper::SetAttrType(AttrProto* attr) { attr->set_type(paddle::framework::AttrType::FLOAT); } template <> void AttrTypeHelper::SetAttrType(AttrProto* attr) { attr->set_type(paddle::framework::AttrType::STRING); } template <> void AttrTypeHelper::SetAttrType>(AttrProto* attr) { attr->set_type(paddle::framework::AttrType::INTS); } template <> void AttrTypeHelper::SetAttrType>(AttrProto* attr) { attr->set_type(paddle::framework::AttrType::FLOATS); } template <> void AttrTypeHelper::SetAttrType>(AttrProto* attr) { attr->set_type(paddle::framework::AttrType::STRINGS); } } // namespace framework } // namespace paddle