traveler.templates.randomable.TypeMakerV#
- class traveler.templates.randomable.TypeMakerV(array_type=jt.Array)[source]#
Bases:
objectA 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