traveler.core.typing.TypeMakerV#

class traveler.core.typing.TypeMakerV(array_type=jt.Array)[source]#

Bases: object

A class to create a type for JAX arrays with a specific shape and dtype.

Parameters:
  • shape (tuple[int, ...]) – The shape of the JAX array.

  • dtype (str) – The data type of the JAX array.

Returns:

A JAX array type with the specified shape and dtype.

Return type:

jt.Array

Attributes#