dpctl.memory.MemoryUSMShared.tobytes¶ MemoryUSMShared.tobytes()¶ Constructs bytes object populated with copy of USM memory.