├── .github └── workflows │ ├── check_code_quality.yml │ ├── deploy.yml │ └── run_unit_tests.yml ├── .gitignore ├── .readthedocs.yaml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── docs ├── Makefile ├── README.md ├── make.bat └── source │ ├── api.rst │ ├── conf.py │ ├── index.rst │ └── install.rst ├── hypll ├── __init__.py ├── manifolds │ ├── __init__.py │ ├── base │ │ ├── __init__.py │ │ └── manifold.py │ ├── euclidean │ │ ├── __init__.py │ │ └── manifold.py │ └── poincare_ball │ │ ├── __init__.py │ │ ├── curvature.py │ │ ├── manifold.py │ │ └── math │ │ ├── __init__.py │ │ ├── diffgeom.py │ │ ├── linalg.py │ │ └── stats.py ├── nn │ ├── __init__.py │ └── modules │ │ ├── __init__.py │ │ ├── activation.py │ │ ├── batchnorm.py │ │ ├── change_manifold.py │ │ ├── container.py │ │ ├── convolution.py │ │ ├── embedding.py │ │ ├── flatten.py │ │ ├── fold.py │ │ ├── linear.py │ │ └── pooling.py ├── optim │ ├── __init__.py │ ├── adam.py │ └── sgd.py ├── tensors │ ├── __init__.py │ ├── manifold_parameter.py │ ├── manifold_tensor.py │ └── tangent_tensor.py └── utils │ ├── __init__.py │ ├── layer_utils.py │ ├── math.py │ └── tensor_utils.py ├── poetry.lock ├── pyproject.toml ├── tests ├── manifolds │ ├── euclidean │ │ └── test_euclidean.py │ └── poincare_ball │ │ ├── test_curvature.py │ │ └── test_poincare_ball.py ├── nn │ ├── test_change_manifold.py │ ├── test_convolution.py │ └── test_flatten.py └── test_manifold_tensor.py └── tutorials ├── README.txt ├── cifar10_resnet_tutorial.py ├── cifar10_tutorial.py ├── data └── wordnet_mammals.json ├── hyperbolic_vit_tutorial.py └── poincare_embeddings_tutorial.py /.github/workflows/check_code_quality.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/.github/workflows/check_code_quality.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/run_unit_tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/.github/workflows/run_unit_tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/source/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/docs/source/api.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/install.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/docs/source/install.rst -------------------------------------------------------------------------------- /hypll/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hypll/manifolds/__init__.py: -------------------------------------------------------------------------------- 1 | from .base import Manifold 2 | -------------------------------------------------------------------------------- /hypll/manifolds/base/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/base/__init__.py -------------------------------------------------------------------------------- /hypll/manifolds/base/manifold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/base/manifold.py -------------------------------------------------------------------------------- /hypll/manifolds/euclidean/__init__.py: -------------------------------------------------------------------------------- 1 | from .manifold import Euclidean 2 | -------------------------------------------------------------------------------- /hypll/manifolds/euclidean/manifold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/euclidean/manifold.py -------------------------------------------------------------------------------- /hypll/manifolds/poincare_ball/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/poincare_ball/__init__.py -------------------------------------------------------------------------------- /hypll/manifolds/poincare_ball/curvature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/poincare_ball/curvature.py -------------------------------------------------------------------------------- /hypll/manifolds/poincare_ball/manifold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/poincare_ball/manifold.py -------------------------------------------------------------------------------- /hypll/manifolds/poincare_ball/math/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hypll/manifolds/poincare_ball/math/diffgeom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/poincare_ball/math/diffgeom.py -------------------------------------------------------------------------------- /hypll/manifolds/poincare_ball/math/linalg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/poincare_ball/math/linalg.py -------------------------------------------------------------------------------- /hypll/manifolds/poincare_ball/math/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/manifolds/poincare_ball/math/stats.py -------------------------------------------------------------------------------- /hypll/nn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/__init__.py -------------------------------------------------------------------------------- /hypll/nn/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hypll/nn/modules/activation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/activation.py -------------------------------------------------------------------------------- /hypll/nn/modules/batchnorm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/batchnorm.py -------------------------------------------------------------------------------- /hypll/nn/modules/change_manifold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/change_manifold.py -------------------------------------------------------------------------------- /hypll/nn/modules/container.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/container.py -------------------------------------------------------------------------------- /hypll/nn/modules/convolution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/convolution.py -------------------------------------------------------------------------------- /hypll/nn/modules/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/embedding.py -------------------------------------------------------------------------------- /hypll/nn/modules/flatten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/flatten.py -------------------------------------------------------------------------------- /hypll/nn/modules/fold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/fold.py -------------------------------------------------------------------------------- /hypll/nn/modules/linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/linear.py -------------------------------------------------------------------------------- /hypll/nn/modules/pooling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/nn/modules/pooling.py -------------------------------------------------------------------------------- /hypll/optim/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/optim/__init__.py -------------------------------------------------------------------------------- /hypll/optim/adam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/optim/adam.py -------------------------------------------------------------------------------- /hypll/optim/sgd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/optim/sgd.py -------------------------------------------------------------------------------- /hypll/tensors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/tensors/__init__.py -------------------------------------------------------------------------------- /hypll/tensors/manifold_parameter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/tensors/manifold_parameter.py -------------------------------------------------------------------------------- /hypll/tensors/manifold_tensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/tensors/manifold_tensor.py -------------------------------------------------------------------------------- /hypll/tensors/tangent_tensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/tensors/tangent_tensor.py -------------------------------------------------------------------------------- /hypll/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hypll/utils/layer_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/utils/layer_utils.py -------------------------------------------------------------------------------- /hypll/utils/math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/utils/math.py -------------------------------------------------------------------------------- /hypll/utils/tensor_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/hypll/utils/tensor_utils.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/manifolds/euclidean/test_euclidean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tests/manifolds/euclidean/test_euclidean.py -------------------------------------------------------------------------------- /tests/manifolds/poincare_ball/test_curvature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tests/manifolds/poincare_ball/test_curvature.py -------------------------------------------------------------------------------- /tests/manifolds/poincare_ball/test_poincare_ball.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tests/manifolds/poincare_ball/test_poincare_ball.py -------------------------------------------------------------------------------- /tests/nn/test_change_manifold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tests/nn/test_change_manifold.py -------------------------------------------------------------------------------- /tests/nn/test_convolution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tests/nn/test_convolution.py -------------------------------------------------------------------------------- /tests/nn/test_flatten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tests/nn/test_flatten.py -------------------------------------------------------------------------------- /tests/test_manifold_tensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tests/test_manifold_tensor.py -------------------------------------------------------------------------------- /tutorials/README.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tutorials/cifar10_resnet_tutorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tutorials/cifar10_resnet_tutorial.py -------------------------------------------------------------------------------- /tutorials/cifar10_tutorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tutorials/cifar10_tutorial.py -------------------------------------------------------------------------------- /tutorials/data/wordnet_mammals.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tutorials/data/wordnet_mammals.json -------------------------------------------------------------------------------- /tutorials/hyperbolic_vit_tutorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tutorials/hyperbolic_vit_tutorial.py -------------------------------------------------------------------------------- /tutorials/poincare_embeddings_tutorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxvanspengler/hyperbolic_learning_library/HEAD/tutorials/poincare_embeddings_tutorial.py --------------------------------------------------------------------------------