OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
hps
/
faces
/
faces
/
lib
/
python3.10
/
site-packages
/
numpy
/
core
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/26/2024 01:27:22 PM
rwxr-xr-x
📄
__init__.py
5.62 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
__init__.pyi
126 bytes
10/26/2024 01:27:14 PM
rw-r--r--
📁
__pycache__
-
10/26/2024 01:28:12 PM
rwxr-xr-x
📄
_add_newdocs.py
204.07 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_add_newdocs_scalars.py
11.8 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_asarray.py
3.91 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_asarray.pyi
1.03 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_dtype.py
10.25 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_dtype_ctypes.py
3.59 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_exceptions.py
8.41 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_internal.py
27.53 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_internal.pyi
1.01 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_machar.py
11.35 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_methods.py
10.81 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_multiarray_tests.cpython-310-darwin.so
145.47 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_multiarray_umath.cpython-310-darwin.so
3.53 MB
10/26/2024 01:27:14 PM
rw-r--r--
📄
_operand_flag_tests.cpython-310-darwin.so
50.35 KB
10/26/2024 01:27:13 PM
rw-r--r--
📄
_rational_tests.cpython-310-darwin.so
78.49 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
_simd.cpython-310-darwin.so
362.62 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
_string_helpers.py
2.79 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
_struct_ufunc_tests.cpython-310-darwin.so
50.66 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
_type_aliases.py
7.36 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
_type_aliases.pyi
374 bytes
10/26/2024 01:27:14 PM
rw-r--r--
📄
_ufunc_config.py
13.62 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
_ufunc_config.pyi
1.04 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
_umath_tests.cpython-310-darwin.so
56.72 KB
10/26/2024 01:27:14 PM
rw-r--r--
📄
arrayprint.py
61.25 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
arrayprint.pyi
4.32 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
cversions.py
347 bytes
10/26/2024 01:27:12 PM
rw-r--r--
📄
defchararray.py
71.31 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
defchararray.pyi
9 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
einsumfunc.py
50.65 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
einsumfunc.pyi
3.69 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
fromnumeric.py
122.29 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
fromnumeric.pyi
22.92 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
function_base.py
18.83 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
function_base.pyi
4.61 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
generate_numpy_api.py
7.23 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
getlimits.py
24.31 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
getlimits.pyi
82 bytes
10/26/2024 01:27:12 PM
rw-r--r--
📁
include
-
10/26/2024 01:29:21 PM
rwxr-xr-x
📁
lib
-
10/26/2024 01:29:21 PM
rwxr-xr-x
📄
memmap.py
11.41 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
memmap.pyi
55 bytes
10/26/2024 01:27:12 PM
rw-r--r--
📄
multiarray.py
54.67 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
multiarray.pyi
24.18 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
numeric.py
75.82 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
numeric.pyi
13.9 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
numerictypes.py
16.83 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
numerictypes.pyi
3.31 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
overrides.py
8.11 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
records.py
36.67 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
records.pyi
5.56 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
setup.py
51.13 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
setup_common.py
19.06 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
shape_base.py
29.77 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
shape_base.pyi
2.71 KB
10/26/2024 01:27:12 PM
rw-r--r--
📁
tests
-
10/26/2024 01:30:05 PM
rwxr-xr-x
📄
umath.py
1.99 KB
10/26/2024 01:27:12 PM
rw-r--r--
📄
umath_tests.py
389 bytes
10/26/2024 01:27:12 PM
rw-r--r--
Editing: einsumfunc.pyi
Close
from collections.abc import Sequence from typing import TypeVar, Any, overload, Union, Literal from numpy import ( ndarray, dtype, bool_, unsignedinteger, signedinteger, floating, complexfloating, number, _OrderKACF, ) from numpy._typing import ( _ArrayLikeBool_co, _ArrayLikeUInt_co, _ArrayLikeInt_co, _ArrayLikeFloat_co, _ArrayLikeComplex_co, _DTypeLikeBool, _DTypeLikeUInt, _DTypeLikeInt, _DTypeLikeFloat, _DTypeLikeComplex, _DTypeLikeComplex_co, ) _ArrayType = TypeVar( "_ArrayType", bound=ndarray[Any, dtype[Union[bool_, number[Any]]]], ) _OptimizeKind = None | bool | Literal["greedy", "optimal"] | Sequence[Any] _CastingSafe = Literal["no", "equiv", "safe", "same_kind"] _CastingUnsafe = Literal["unsafe"] __all__: list[str] # TODO: Properly handle the `casting`-based combinatorics # TODO: We need to evaluate the content `__subscripts` in order # to identify whether or an array or scalar is returned. At a cursory # glance this seems like something that can quite easily be done with # a mypy plugin. # Something like `is_scalar = bool(__subscripts.partition("->")[-1])` @overload def einsum( subscripts: str | _ArrayLikeInt_co, /, *operands: _ArrayLikeBool_co, out: None = ..., dtype: None | _DTypeLikeBool = ..., order: _OrderKACF = ..., casting: _CastingSafe = ..., optimize: _OptimizeKind = ..., ) -> Any: ... @overload def einsum( subscripts: str | _ArrayLikeInt_co, /, *operands: _ArrayLikeUInt_co, out: None = ..., dtype: None | _DTypeLikeUInt = ..., order: _OrderKACF = ..., casting: _CastingSafe = ..., optimize: _OptimizeKind = ..., ) -> Any: ... @overload def einsum( subscripts: str | _ArrayLikeInt_co, /, *operands: _ArrayLikeInt_co, out: None = ..., dtype: None | _DTypeLikeInt = ..., order: _OrderKACF = ..., casting: _CastingSafe = ..., optimize: _OptimizeKind = ..., ) -> Any: ... @overload def einsum( subscripts: str | _ArrayLikeInt_co, /, *operands: _ArrayLikeFloat_co, out: None = ..., dtype: None | _DTypeLikeFloat = ..., order: _OrderKACF = ..., casting: _CastingSafe = ..., optimize: _OptimizeKind = ..., ) -> Any: ... @overload def einsum( subscripts: str | _ArrayLikeInt_co, /, *operands: _ArrayLikeComplex_co, out: None = ..., dtype: None | _DTypeLikeComplex = ..., order: _OrderKACF = ..., casting: _CastingSafe = ..., optimize: _OptimizeKind = ..., ) -> Any: ... @overload def einsum( subscripts: str | _ArrayLikeInt_co, /, *operands: Any, casting: _CastingUnsafe, dtype: None | _DTypeLikeComplex_co = ..., out: None = ..., order: _OrderKACF = ..., optimize: _OptimizeKind = ..., ) -> Any: ... @overload def einsum( subscripts: str | _ArrayLikeInt_co, /, *operands: _ArrayLikeComplex_co, out: _ArrayType, dtype: None | _DTypeLikeComplex_co = ..., order: _OrderKACF = ..., casting: _CastingSafe = ..., optimize: _OptimizeKind = ..., ) -> _ArrayType: ... @overload def einsum( subscripts: str | _ArrayLikeInt_co, /, *operands: Any, out: _ArrayType, casting: _CastingUnsafe, dtype: None | _DTypeLikeComplex_co = ..., order: _OrderKACF = ..., optimize: _OptimizeKind = ..., ) -> _ArrayType: ... # NOTE: `einsum_call` is a hidden kwarg unavailable for public use. # It is therefore excluded from the signatures below. # NOTE: In practice the list consists of a `str` (first element) # and a variable number of integer tuples. def einsum_path( subscripts: str | _ArrayLikeInt_co, /, *operands: _ArrayLikeComplex_co, optimize: _OptimizeKind = ..., ) -> tuple[list[Any], str]: ...