CupyBackend.datatype_bytes#

CupyBackend.datatype_bytes(dtype)#

Return the number of bytes occupied by a given datatype.

Parameters:
dtypetype

Data type to determine the bytesize of.

Returns:
int

Number of bytes occupied by the datatype.