cudf.core.dtypes.CategoricalDtype.device_deserialize#

classmethod CategoricalDtype.device_deserialize(header, frames)#

Perform device-side deserialization tasks.

The primary purpose of this method is the creation of device memory buffers from host buffers where necessary.

Parameters:
headerdict

The metadata required to reconstruct the object.

frameslist

The Buffers or memoryviews that the object should contain.

Returns:
Serializable

A new instance of cls (a subclass of Serializable) equivalent to the instance that was serialized to produce the header and frames.

meta private: