MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / CastPyArg2AttrLong

Function CastPyArg2AttrLong

paddle/fluid/pybind/op_function_common.cc:377–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377void CastPyArg2AttrLong(PyObject* obj,
378 paddle::framework::AttributeMap& attrs, // NOLINT
379 const std::string& key,
380 const std::string& op_type,
381 ssize_t arg_pos) {
382 attrs[key] = CastPyArg2Long(obj, op_type, arg_pos);
383}
384
385void CastPyArg2AttrScalar(PyObject* obj,
386 paddle::framework::AttributeMap& attrs, // NOLINT

Callers 1

Calls 1

CastPyArg2LongFunction · 0.85

Tested by

no test coverage detected