diff --git a/paddle/phi/capi/lib/c_int_array.cc b/paddle/phi/capi/lib/c_int_array.cc index 7562700372c3b6101bce38d62848727177f8ab89..94c1f09201acc522ddb6157267207eb3c0c8f597 100644 --- a/paddle/phi/capi/lib/c_int_array.cc +++ b/paddle/phi/capi/lib/c_int_array.cc @@ -26,7 +26,7 @@ PD_List PD_IntArrayGetDataPointer(PD_IntArray* int_array) { return list; } -size_t PD_IntArrayGetSize(PD_IntArray* int_array) { +size_t PD_IntArrayGetElementCount(PD_IntArray* int_array) { auto cc_int_array = reinterpret_cast(int_array); return cc_int_array->size(); }