| 340 | } |
| 341 | |
| 342 | void CastPyArg2AttrInt(PyObject* obj, |
| 343 | paddle::framework::AttributeMap& attrs, // NOLINT |
| 344 | const std::string& key, |
| 345 | const std::string& op_type, |
| 346 | ssize_t arg_pos) { |
| 347 | attrs[key] = CastPyArg2Int(obj, op_type, arg_pos); |
| 348 | } |
| 349 | |
| 350 | int64_t CastPyArg2Long(PyObject* obj, |
| 351 | const std::string& op_type, |
no test coverage detected