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

Function PD_IntArrayGetElementCount

paddle/phi/capi/lib/c_int_array.cc:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29size_t PD_IntArrayGetElementCount(PD_IntArray* int_array) {
30 auto cc_int_array = reinterpret_cast<phi::IntArray*>(int_array);
31 return cc_int_array->size();
32}
33
34PD_REGISTER_CAPI(int_array);

Callers 1

sizeMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected