【文件属性】:
文件名称:tfga:具有TensorFlow的Geometric Clifford Algebra的Python软件包
文件大小:524KB
文件格式:ZIP
更新时间:2021-02-14 03:43:09
python deep-learning tensorflow physics automatic-differentiation
TFGA-TensorFlow几何代数
| | |
使用TensorFlow 2的Geometric / Clifford Algebra的Python软件包。
该项目正在进行中。 其API可能会更改,示例尚未完善。
欢迎通过提出问题或来提出请求和建议。
安装
使用pip install tfga : pip install tfga
要求:
Python 3
张量流2
麻木
基本用法
有两种使用此库的方法。 在这两种方式中,我们首先创建一个给定度量的实例。 然后我们可以直接在实例上工作,其中假定最后一个轴与代数的刀片相对应。
import tensorflow as tf
from tfga import GeometricAlgebra
# Create an algebra with 3 basis vectors given their metric.
# Co
【文件预览】:
tfga-master
----setup.py(2KB)
----.gitignore(2KB)
----LICENSE(1KB)
----.github()
--------workflows()
----notebooks()
--------keras-triangles.ipynb(266KB)
--------qed.ipynb(784KB)
--------tfga.ipynb(11KB)
--------conv.ipynb(6KB)
--------em.ipynb(266KB)
--------em_output()
--------pga.ipynb(46KB)
----tfga()
--------__init__.py(34B)
--------mv.py(7KB)
--------layers.py(25KB)
--------mv_ops.py(3KB)
--------blades.py(6KB)
--------tfga.py(26KB)
--------cayley.py(2KB)
----README.md(10KB)
----tests()
--------test_pga.py(1KB)
--------test_keras.py(11KB)
--------test_sta_cayley.py(2KB)
--------test_dual_ga.py(6KB)
--------test_dual_cayley.py(1KB)
----benchmarks()
--------generate.py(2KB)
--------output()
--------__init__.py(0B)
--------graph.py(2KB)
--------test_clifford.py(2KB)
--------README.md(1KB)
--------test_tfga.py(820B)