Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions penzai/core/named_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1802,7 +1802,7 @@ def is_namedarray(value) -> typing.TypeGuard[NamedArrayBase]:
def full(
named_shape: Mapping[AxisName, int],
fill_value: jax.typing.ArrayLike,
dtype: np.DTypeLike | None = None,
dtype: jax.typing.DTypeLike | None = None,
) -> NamedArray:
"""Constructs a full named array with a given shape.

Expand All @@ -1823,7 +1823,7 @@ def full(

def zeros(
named_shape: Mapping[AxisName, int],
dtype: np.DTypeLike | None = None,
dtype: jax.typing.DTypeLike | None = None,
) -> NamedArray:
"""Constructs a named array of zeros with a given shape.

Expand All @@ -1842,7 +1842,7 @@ def zeros(

def ones(
named_shape: Mapping[AxisName, int],
dtype: np.DTypeLike | None = None,
dtype: jax.typing.DTypeLike | None = None,
) -> NamedArray:
"""Constructs a named array of ones with a given shape.

Expand Down