-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bdeb76
commit 533ca96
Showing
11 changed files
with
226 additions
and
132 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import numbers | ||
from typing import Iterable, Tuple, Union | ||
|
||
import numpy as np | ||
|
||
|
||
IntArgType = Union[int, numbers.Integral, np.integer] | ||
FloatArgType = Union[float, numbers.Real, np.floating] | ||
|
||
ShapeArgType = Union[IntArgType, Iterable[IntArgType]] | ||
DTypeArgType = Union[np.dtype, str] | ||
|
||
RandomStateArgType = Union[None, int, np.random.RandomState, np.random.Generator] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.