jax.experimental.pallas.MemorySpace

jax.experimental.pallas.MemorySpace#

class jax.experimental.pallas.MemorySpace(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Logical, device-agnostic memory spaces.

Each memory space will be translated to a device-specific memory type during lowering.

__init__(*args, **kwds)#

Methods

from_type(type)

Attributes

memory_kind

ANY

DEFAULT

ERROR

INDEX

KEY