mirror of
https://github.com/wassname/ray.git
synced 2026-07-08 09:18:58 +08:00
Moving Local Mode to C++ (#7670)
This commit is contained in:
@@ -193,6 +193,9 @@ cdef extern from "ray/common/buffer.h" namespace "ray" nogil:
|
||||
|
||||
cdef extern from "ray/common/ray_object.h" nogil:
|
||||
cdef cppclass CRayObject "ray::RayObject":
|
||||
CRayObject(const shared_ptr[CBuffer] &data,
|
||||
const shared_ptr[CBuffer] &metadata,
|
||||
const c_vector[CObjectID] &nested_ids)
|
||||
c_bool HasData() const
|
||||
c_bool HasMetadata() const
|
||||
const size_t DataSize() const
|
||||
|
||||
Reference in New Issue
Block a user