-
Notifications
You must be signed in to change notification settings - Fork 1
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
53805ab
commit 8a2962d
Showing
21 changed files
with
3,657 additions
and
3,486 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ The following modules are contained with `tad_multicharge`. | |
defaults | ||
eeq | ||
model | ||
typing/index |
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,2 @@ | ||
.. automodule:: tad_multicharge.typing.builtin | ||
:members: |
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,8 @@ | ||
.. _typing: | ||
|
||
.. automodule:: tad_multicharge.typing | ||
|
||
.. toctree:: | ||
|
||
builtin | ||
pytorch |
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,2 @@ | ||
.. automodule:: tad_multicharge.typing.pytorch | ||
:members: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file is part of tad-multicharge. | ||
# | ||
# SPDX-Identifier: LGPL-3.0 | ||
# Copyright (C) 2023 Marvin Friede | ||
# | ||
# tad-multicharge is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Lesser General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# tad-multicharge is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with tad-multicharge. If not, see <https://www.gnu.org/licenses/>. | ||
""" | ||
Type annotations | ||
================ | ||
All type annotations for this project. | ||
""" | ||
from .builtin import * | ||
from .pytorch import * |
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,27 @@ | ||
# This file is part of tad-multicharge. | ||
# | ||
# SPDX-Identifier: LGPL-3.0 | ||
# Copyright (C) 2023 Marvin Friede | ||
# | ||
# tad-multicharge is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Lesser General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# tad-multicharge is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with tad-multicharge. If not, see <https://www.gnu.org/licenses/>. | ||
""" | ||
Type annotations: Built-ins | ||
=========================== | ||
Built-in type annotations are imported from the *tad-mctc* library, which | ||
handles some version checking. | ||
""" | ||
from tad_mctc.typing import Any, Callable, TypedDict | ||
|
||
__all__ = ["Any", "Callable", "TypedDict"] |
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,42 @@ | ||
# This file is part of tad-multicharge. | ||
# | ||
# SPDX-Identifier: LGPL-3.0 | ||
# Copyright (C) 2023 Marvin Friede | ||
# | ||
# tad-multicharge is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Lesser General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# tad-multicharge is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with tad-multicharge. If not, see <https://www.gnu.org/licenses/>. | ||
""" | ||
Type annotations: PyTorch | ||
========================= | ||
PyTorch-related type annotations for this project. | ||
""" | ||
from tad_mctc.typing import ( | ||
DD, | ||
CountingFunction, | ||
Molecule, | ||
Tensor, | ||
TensorLike, | ||
get_default_device, | ||
get_default_dtype, | ||
) | ||
|
||
__all__ = [ | ||
"DD", | ||
"CountingFunction", | ||
"Molecule", | ||
"Tensor", | ||
"TensorLike", | ||
"get_default_device", | ||
"get_default_dtype", | ||
] |
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.