Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 7af4cae

Browse files
committed
Add copybara rules for importing experimental PRs. After importing you can run build_cleaner third_party/py/neural_tangents/... in the new copybara workspace to create BUILD targets. There's still a lot of stuff to improve (some changes suggested in #142, and here would be nice to run build_cleaner automatically), but this could be a bit helpful in the meantime.
PiperOrigin-RevId: 436878167
1 parent dcf4bc9 commit 7af4cae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

neural_tangents/_src/utils/typing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414

1515
"""Common Type Definitions."""
1616

17-
1817
from typing import Any, Dict, Generator, List, Optional, Sequence, TYPE_CHECKING, Tuple, TypeVar, Union
19-
from typing_extensions import Protocol
18+
2019
import jax.numpy as np
2120
from jax import random
2221
from .kernel import Kernel
@@ -50,7 +49,6 @@
5049
"""
5150
T = TypeVar('T')
5251

53-
5452
if TYPE_CHECKING:
5553
NTTree = Union[List['NTTree[T]'], Tuple['NTTree[T]', ...], T]
5654
NTTrees = Union[List['NTTree[T]'], Tuple['NTTree[T]', ...]]

0 commit comments

Comments
 (0)