lorentz-boost网络(lbn)的tensorflow实现。https://arxiv.org/abs/1812.09722。

lbn的Python项目详细描述


洛伦兹boost网络(lbn)pipeline status

洛伦兹boost网络的张量流实现。

原始存储库:git.rwth-aachen.de/3pia/lbn

使用示例

fromlbnimportLBN# initialize the LBN, set 10 combinations and pairwise boostinglbn=LBN(10,boost_mode=LBN.PAIRS)# create a feature tensor based on input four-vectorsfeatures=lbn(four_vectors)# use the features as input for a subsequent, application-specific network...

安装和依赖项

通过pip

pip install lbn

numpy和tensorflow是唯一的依赖项。

测试

应该为python 2和3运行测试。以下命令假定您是lbn respository的根目录:

python -m unittest test# or via docker, python 2
docker run --rm -v `pwd`:/root/lbn -w /root/lbn tensorflow/tensorflow:latest python -m unittest test# or via docker, python 3
docker run --rm -v `pwd`:/root/lbn -w /root/lbn tensorflow/tensorflow:latest-py3 python -m unittest test

贡献

如果您愿意贡献,我们很高兴收到请求。只需确保添加新的测试用例并运行测试。另外,请使用与我们的.flake8配置兼容的编码样式。

发展

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何将日期字符串解析为整数变量?   java如何在Spring3+WS2+中使用注释、JibxMarshalling或使用xml配置配置JibxMarshalling和unmarshalling?   安装Oracle Jdeveloper时mac中出现java安装错误。   设置自动保存计时器以在java中定期保存文件(但不使用任何JavaFXAPI)的最佳策略是什么?   模板获取handlebar java中迭代器列表的长度   java如何在特定JAX RS调用中排除对象中的字段?   在Struts 2中抛出NullPointerException的java getText()方法   java比较捐献者和接受者的血型   fedora Java向后兼容性   字符串Java替换多个字符   复制BuffereImage时出现java数组索引错误   并行处理Java 8并行流findFirst   java关闭应用程序后如何离开服务?   Java:Tesseractocr:如何查找单词坐标?