Searched refs:py_size (Results 1 – 3 of 3) sorted by relevance
27 Py_ssize_t py_size; in PYBIND11_MODULE() local28 if (PyBytes_AsStringAndSize(input.ptr(), &c_string, &py_size) == -1) { in PYBIND11_MODULE()32 tensorflow::GetPythonWrappers(c_string, static_cast<size_t>(py_size))); in PYBIND11_MODULE()
58 Py_ssize_t py_size; in ProtoStringToTFBuffer() local60 if (PyBytes_AsStringAndSize(input, &c_string, &py_size) == -1) { in ProtoStringToTFBuffer()65 static_cast<size_t>(py_size)); in ProtoStringToTFBuffer()
102 Py_ssize_t py_size; in ProtoStringToTFBuffer() local104 if (PyBytes_AsStringAndSize(input, &c_string, &py_size) == -1) { in ProtoStringToTFBuffer()109 static_cast<size_t>(py_size)); in ProtoStringToTFBuffer()