Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lib /
python3.11 /
dist-packages /
optree /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-04-08 17:01
integration
[ DIR ]
drwxr-xr-x
2025-04-08 17:01
_C.cpython-311-x86_64-linux-gnu.so
796.47
KB
-rwxr-xr-x
2025-04-08 17:01
_C.pyi
6
KB
-rw-r--r--
2025-04-08 17:01
__init__.py
5.75
KB
-rw-r--r--
2025-04-08 17:01
accessor.py
14.5
KB
-rw-r--r--
2025-04-08 17:01
dataclasses.py
17.98
KB
-rw-r--r--
2025-04-08 17:01
functools.py
6.26
KB
-rw-r--r--
2025-04-08 17:01
ops.py
149.48
KB
-rw-r--r--
2025-04-08 17:01
py.typed
0
B
-rw-r--r--
2025-04-08 17:01
pytree.py
4.24
KB
-rw-r--r--
2025-04-08 17:01
registry.py
29.54
KB
-rw-r--r--
2025-04-08 17:01
treespec.py
1.88
KB
-rw-r--r--
2025-04-08 17:01
typing.py
18.56
KB
-rw-r--r--
2025-04-08 17:01
utils.py
3.42
KB
-rw-r--r--
2025-04-08 17:01
version.py
1.77
KB
-rw-r--r--
2025-04-08 17:01
Save
Rename
# Copyright 2022-2025 MetaOPT Team. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== """The :mod:`optree.treespec` namespace contains constructors for class :class:`optree.PyTreeSpec`. >>> import optree.treespec as treespec >>> treespec.leaf() PyTreeSpec(*) >>> treespec.none() PyTreeSpec(None) >>> treespec.dict({'a': treespec.leaf(), 'b': treespec.leaf()}) PyTreeSpec({'a': *, 'b': *}) .. versionadded:: 0.14.1 """ from __future__ import annotations from optree.ops import treespec_defaultdict as defaultdict from optree.ops import treespec_deque as deque from optree.ops import treespec_dict as dict # pylint: disable=redefined-builtin from optree.ops import treespec_from_collection as from_collection from optree.ops import treespec_leaf as leaf from optree.ops import treespec_list as list # pylint: disable=redefined-builtin from optree.ops import treespec_namedtuple as namedtuple from optree.ops import treespec_none as none from optree.ops import treespec_ordereddict as ordereddict from optree.ops import treespec_structseq as structseq from optree.ops import treespec_tuple as tuple # pylint: disable=redefined-builtin __all__ = [ 'leaf', 'none', 'tuple', 'list', 'dict', 'namedtuple', 'ordereddict', 'defaultdict', 'deque', 'structseq', 'from_collection', ]