Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ disable=abstract-method,
long-suffix,
map-builtin-not-iterating,
misplaced-comparison-constant,
missing-class-docstring,
missing-function-docstring,
metaclass-assignment,
next-method-called,
Expand Down
3 changes: 2 additions & 1 deletion penzai/core/named_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,12 @@ def my_dot(a, b):

import abc
import collections
from collections.abc import Callable, Hashable, Mapping, Sequence
import dataclasses
import functools
import operator
import typing
from typing import Any, Callable, Hashable, Mapping, Sequence
from typing import Any

import jax
import jax.numpy as jnp
Expand Down
3 changes: 2 additions & 1 deletion penzai/core/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
from __future__ import annotations

import abc
from collections.abc import Callable, Hashable, Sequence
import dataclasses
import functools
import inspect
import typing
from typing import Any, Callable, Hashable, Literal, Sequence, Type, TypeVar
from typing import Any, Literal, Type, TypeVar

import jax
from typing_extensions import dataclass_transform
Expand Down
3 changes: 2 additions & 1 deletion penzai/core/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@

import abc
import contextlib
from collections.abc import Callable, Hashable, Iterable
import dataclasses
import functools
import inspect
import typing
from typing import Any, Callable, Generic, Hashable, Iterable, Literal, TypeAlias, TypeVar
from typing import Any, Generic, Literal, TypeAlias, TypeVar

import jax
import jax.numpy as jnp
Expand Down
3 changes: 2 additions & 1 deletion penzai/nn/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

from __future__ import annotations

from collections.abc import Hashable
import dataclasses
from typing import Any, Hashable
from typing import Any

import jax
import jax.numpy as jnp
Expand Down
Loading
Loading